Reserved keywords in UQL are words that have a special meaning and control the behavior of UQL queries. These reserved keywords cannot be used as names for alias, schema, property, etc.
UQL has the following reserved keywords.
Category | Words |
---|---|
System Property | _id , _uuid , _from , _to , _from_uuid , _to_uuid |
System Table Alias | _graph , _graph_shard_N _nodeSchema , _nodeSchema_shard_N _edgeSchema , _edgeSchema_shard_N , _graphCount , _nodeProperty , _nodeProperty_shard_N , _edgeProperty , _edgeProperty_shard_N , _nodeIndex , _edgeIndex , _nodeFulltext , _edgeFulltext , _statistic , _top , _task , _policy , _user , _privilege , _algoList , _extaList , _hdcGraphList , _projectionList |
System Alias | this ,prev_n ,prev_e |
Operator[1] | IN , NIN , CONTAINS , XOR , DISTINCT , IS NULL , IS NOT NULL |
Statement[1] | GROUP BY , ORDER BY , SKIP , LIMIT , WHERE , RETURN , WITH , UNCOLLECT , UNION , UNION ALL , CALL , OPTIONAL , EXPLAIN |
Modifiers[1] | AS , ASC , DESC |
Expression[1] | CASE , WHEN , THEN , ELSE , END |
[1] Those keywords are case insensitive.