We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As in golang map keys order is not guaranteed, multiple CQL queries are prepared given a single graphql query, when executing multiple times.
Consider the following query:
mutation { insertTagsByLetter(value: {firstLetter: "b", tag: "bote"}){ applied value { tag } } }
When executing multiple times, we generate 2 different prepared queries:
INSERT INTO "killrvideo"."tags_by_letter" ("tag", "first_letter") VALUES (?, ?) INSERT INTO "killrvideo"."tags_by_letter" ("first_letter", "tag") VALUES (?, ?)
On larger queries, this posses a real issue as prepared statement cache might fill up and queries get evicted server side.
The text was updated successfully, but these errors were encountered:
The fix is to sort the keys and use those for iteration.
Sorry, something went wrong.
No branches or pull requests
As in golang map keys order is not guaranteed, multiple CQL queries are prepared given a single graphql query, when executing multiple times.
Consider the following query:
When executing multiple times, we generate 2 different prepared queries:
On larger queries, this posses a real issue as prepared statement cache might fill up and queries get evicted server side.
The text was updated successfully, but these errors were encountered: