SRC as a keyword

Hello,
TG version : 3.5
i read the following website about query language reserved words Query Language Keywords & Reserved Words :: GSQL Language Reference
i see that SRC word exists in the Query Language Reserved Words list BUT also in the Query language non-reserved keywords list. what is the meaning ? can i use SRC as a param in the query?


In the same topic, i have a query that got as params:
CREATE QUERY XXX (Vertex Src, Vertex Trgt, INT maxDepth) FOR GRAPH YYY
and when i see the query endpoint it seems like i should pass the params : /restpp/query/YYY/XXX?src=<VERTEX_ID>&src.type=<VERTEX_TYPE>&Trgt=<VERTEX_ID>&Trgt.type=<VERTEX_TYPE>&maxDepth=

so why the src should be pass with lower case?

Hi @skostika ,

I am currently looking into why there are multiple keywords duplicated in both Keywords lists. I will get back to you as soon as possible with an answer to this!

McKenzie

@skostika The RESERVED keywords have just been updated. Query Language Keywords & Reserved Words :: GSQL Language Reference

1 Like