2017 © Pedro Peláez
 

library jsondbquery

Generate SQL from URL json query string

image

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

The README.md

JsonDbQuery

Build Status, (*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)

The Versions

12/06 2018

dev-develop

dev-develop

Generate SQL from URL json query string

  Sources   Download

BSD-3-Clause

The Requires

  • php ^7.1

 

The Development Requires

by Guido Faecke

sql doctrine zend-db

12/06 2018

dev-master

9999999-dev

Generate SQL from URL json query string

  Sources   Download

BSD-3-Clause

The Requires

  • php ^7.1

 

The Development Requires

by Guido Faecke

sql doctrine zend-db