I want to handle offset using builtin endpoint -List vertices in tigergraph . I do not see any parameter called offset . Should we write custom GSQL query ,just for supporting offset?
Hi @Bruno ,
Thanks for the response , but if I am going to write custom query for list vertices api ,then I need to handle other parameters as well , like FILTER,SELECT .
Now the challenge in writing custom query is to handle FILTER and SELECT parameters dynamically which contains expression . Handling offset and limit is straightforward in custom query.
example : FILTER : “name=abc”
SELECT :" id,name"
Can you please help me to write gsql for dynamically handling FILTER and SELECT.
Sample query for handling limit,offset . But filter and select parameters are yet to be handled
start = SELECT v FROM start -(: e)-: v
ORDER BY v.identifier asc
LIMIT limitValue OFFSET offsetValue;