|
|
|
|
|
by canu21
122 days ago
|
|
The : prefix marks OmniQL commands, the action you want to perform (:GET, :CREATE, :DELETE, etc.). It's how the parser distinguishes OmniQL syntax from native SQL or other query languages.
WHERE, AND, OR, LIMIT etc. are clauses. They modify the command but aren't commands themselves. So the rule is simple: commands get :, clauses don't.
Think of it like a terminal. You prefix the command (git push) but not the flags (--force). Same idea here. |
|