Query Language Reserved Words
The following words are reserved for use by the GSQL query language. That is, a query may not use any of these words for a user-defined identifier, such as the name of a local variable or a local TUPLE type.

History:

  • v3.1: Added TAGS, RESET_COLLECTION_ACCUM, WITH
There is a separate list for Reserved Words for the GSQL DDL Language. The compiler will reject the use of a Reserved Word as a user-defined identifier.
Query Language Reserved Words
1
ACCUM AND ANY API
2
AS ASC AVG BAG
3
BATCH BETWEEN BOOL BOTH
4
BREAK BY CASE CATCH
5
COALESCE COMPRESS CONTINUE COUNT
6
CREATE DATETIME DATETIME_ADD DATETIME_SUB
7
DELETE DESC DISTRIBUTED DO
8
DOUBLE EDGE ELSE END
9
ESCAPE EXCEPTION FALSE FILE
10
FILTER FLOAT FOR FOREACH
11
FROM GRAPH GROUP GSQL_INT_MAX
12
GSQL_INT_MIN GSQL_UINT_MAX HAVING IF
13
IN INSERT INT INTERPRET
14
INTERSECT INTERVAL INTO IS
15
ISEMPTY JSONARRAY JSONOBJECT LASTHOP
16
LEADING LIKE LIMIT LIST
17
LOAD_ACCUM LOG MAP MATCH
18
MAX MIN MINUS NOT
19
NOW NULL OFFSET OR
20
ORDER PATH PER PINNED
21
POST_ACCUM POST-ACCUM PRIMARY_ID PRINT
22
QUERY RAISE RANGE REPLACE
23
RESET_COLLECTION_ACCUM RETURN RETURNS
24
RUN SAMPLE SELECT SELECT_VERTEX
25
SET SRC STATIC STRING
26
SUM SYNTAX TARGET TAGS
27
TGT THEN TO TO_CSV
28
TO_DATETIME TRAILING TRIM TRUE
29
TRY TUPLE TYPEDEF UINT
30
UNION UPDATE VALUES VERTEX
31
WHEN WHERE WHILE WITH
Copied!
Last modified 8mo ago
Export as PDF
Copy link
Contents
History: