PHP Class PhpBench\Expression\Parser

Note this query language is based heavily upon the MongoDB query documents: https://docs.mongodb.org/manual/tutorial/query-documents/#select-all-documents-in-a-collection Further modifications should copy the precendent laid down by that implementation.
Mostra file Open project: dantleech/phpbench

Public Methods

Method Description
__construct ( )
parse ( $json )

Private Methods

Method Description
parseComparison ( $field, $args )
parseComposite ( $operator, $args )
processExpr ( array $expr )

Method Details

__construct() public method

public __construct ( )

parse() public method

public parse ( $json )