Query Language Reserved Words

The following words are reserved for use by the GSQL query language. This includes words which are currently keywords (such as GRAPH), as well as words which might be used in the future (such as EXTERN). For Data Definition & Loading, there exists a different list of reserved keywords found here.

Query Language Reserved Words
ACCUM ALIGNAS ALIGNOF API
AND AND_EQ ANY AS
ASC ASM AUTO AVG
BAG BATCH BETWEEN BITAND
BITOR BOOL BOTH BREAK
BY CASE CATCH CHAR
CHAR16_T CHAR32_T CLASS COALESCE
COMPL COMPRESS CONCEPT CONST
CONSTEXPR CONST_CAST CONTINUE COUNT
CREATE DATETIME DATETIME_ADD DATETIME_SUB
DECLTYPE DEFAULT DELETE DESC
DISTRIBUTED DO DONE DOUBLE
DYNAMIC_CAST EDGE ELSE END
ENUM ESCAPE EXCEPTION EXPLICIT
EXPORT EXTERN FALSE .FILE
FILTER FLOAT FOR FOREACH
FRIEND FROM GOTO GRAPH
GSQL_INT_MAX GSQL_INT_MIN GSQL_UINT_MAX HAVING
IF IN INLINE INSERT
INT INTERPRET INTERSECT INTERVAL
INTO IS ISEMPTY JSONARRAY
JSONOBJECT LEADING LIKE LIMIT
LIST LOADACCUM LOG LONG
MAP MAX MIN MINUS
MUTABLE NAMESPACE NEW NOEXCEPT
NO_TRANSLATION_EID_TO_IID NOT NOT_EQ
NOW NULL NULLPTR OFFSET
OPERATOR OR ORDER OR_EQ
PINNED POST-ACCUM POST_ACCUM PRIMARY_ID
PRINT PRIVATE PROTECTED PUBLIC
QUERY RAISE RANGE REGISTER
REINTERPRET_CAST REPLACE REQUIRES RETURN
RETURNS RUN SAMPLE SELECT
SELECTVERTEX SET SHORT SIGNED
SIZEOF STATIC STATIC_ASSERT STATIC_CAST
STRING STRUCT SUM SWITCH
TARGET TEMPLATE THEN THIS
THREAD_LOCAL THROW TO TO_CSV
TO_DATETIME TRAILING TRIM TRUE
TRY TUPLE TYPEDEF TYPEID
TYPENAME UINT UNION UNSIGNED
UPDATE USING VALUES VERTEX
VIRTUAL VOID VOLATILE WCHAR_T
WHEN WHERE WHILE XOR
XOR_EQ