:: Version 3.2.0 ::

OQL Grammar

The OQL grammar can be described as following using the BNF syntax:

query ::= select-query [UNION query]
select-query ::= SELECT class-reference [class-joined] [WHERE expression]
class-reference ::= name [AS name]
class-joined ::= JOIN class-reference ON name.name = name.id
name ::= string | `string`
expression ::=
scalar
| expression operator expression
| (expression)
scalar ::= number | ‘string’ | “string” | column
operator ::= AND | OR | = | <> | != | > | >= | < | <= | LIKE | NOT LIKE | MATCHES
column ::= name | name.name
3_2_0/oql/oql_grammar.txt · Last modified: 2024/09/10 10:25 by 127.0.0.1
Back to top
Contact us