Conventions
- reference
The N1QL syntax descriptions in the documentation use some notational conventions that you need to be familiar with.
Convention | Notation | Example | Description |
---|---|---|---|
Upper case |
SELECT |
Indicates keywords, which are required in the syntax. |
|
Single or double quotes |
|
|
Indicate that the punctuation mark(s) between the quotes are required in the syntax. |
Square brackets |
|
|
Indicate that the elements between the square brackets are optional. |
Pipe |
|
|
Separates alternatives. |
Parentheses |
|
|
Delimit alternatives where necessary. |
Square brackets and asterisk |
|
|
Indicate that the elements between the square brackets may be repeated zero, one, or many times. |