Skip to content
Laran Evans edited this page Mar 29, 2016 · 2 revisions

Conditions are made up of a Property, a Comparison Operator and a Value. They're analogous to the elements of a SQL WHERE clause.

For example:

property operator value
name = 'John'
price < 5.00
created_at > '2016-03-01'

GQL converts a set of Conditions into a set of where clauses that GQL then then applies to a Knex query builder in order to define an actual query.

Read about Operators to see what types of Conditions are supported. Read about Clauses to see how to assemble Conditions for more complex logic.

Clone this wiki locally