Skip to content

DOC-2667 Compare restpp and gsql - #963

Open
priyankagunaki-cloud wants to merge 4 commits into
4.2from
DOC-2667-diff-restpp-gsql
Open

DOC-2667 Compare restpp and gsql#963
priyankagunaki-cloud wants to merge 4 commits into
4.2from
DOC-2667-diff-restpp-gsql

Conversation

@priyankagunaki-cloud

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread modules/API/pages/gsql-endpoints.adoc Outdated
Comment on lines +3264 to +3265
|`/query/{graph_name}/{query_name}`
|`/gsql/v1/queries/{queryName}`

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The names {query_name} and {queryName} are just placeholders, not part of the formal syntax, so there is no logical reason for them to be different.

[The reason because the two endpoints were documented years apart, and the person who drafted the more recent one didn't check to see what name was already being used.]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@victorleeTG
I have updated the changes according to your comment.
Please review.

Comment thread modules/API/pages/gsql-endpoints.adoc Outdated
Comment on lines +3272 to +3273
|Uses the RESTPP parameter format for `VERTEX` and `SET<VERTEX>` query parameters.
|Uses the GSQL parameter format for `VERTEX` and `SET<VERTEX>` query parameters.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are these formats? Are there examples somewhere?

At the read committed level, it is guaranteed that any data read is committed at the moment it is read. By default, it is off.
|===

For a comparison of the RESTPP and GSQL endpoints for running installed queries, including differences in parameter formats and query execution, see xref:gsql-endpoints.adoc#compare-the-restpp-and-gsql-query-endpoints[].

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tushar was working on a similar ticket. Did you know that? Have you coordinated with him?
DOC-2403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants