library jsondbquery
Generate SQL from URL json query string
guidofaecke/jsondbquery
Generate SQL from URL json query string
- Tuesday, June 12, 2018
- by gfaecke
- Repository
- 1 Watchers
- 0 Stars
- 3 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
JsonDbQuery
, (*1)
Build simple queries with JSON via REST and RPC calls., (*2)
Planned support
- Doctrine
- Zend-Db
- raw SQL, (*3)
Usage examples
(not yet finalized)
http:///api/get_some_data?query={"field" : {"$not" : val}}
http:///api/get_some_data?query={"field" : {"$in" : [value1, value2, ...]}}
http:///api/get_some_data?query={"$or": [{"status": "BLUE"}, {"status": "RED"}]}
http:///api/get_some_data?query={"amount": {"$gt": 500}}
http:///api/get_some_data?query={"amount": {"$lte": 500}}
http:///api/get_some_data?query={"amount": {"$bt": [300, 640]}}, (*4)
dev-develop
dev-develop
Generate SQL from URL json query string
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
by
Guido Faecke
sql
doctrine
zend-db
dev-master
9999999-dev
Generate SQL from URL json query string
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
by
Guido Faecke
sql
doctrine
zend-db