-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
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
Prepared queries pubsub #3074
Prepared queries pubsub #3074
Commits on Mar 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 09a1c5c - Browse repository at this point
Copy the full SHA 09a1c5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba8e642 - Browse repository at this point
Copy the full SHA ba8e642View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4abf268 - Browse repository at this point
Copy the full SHA 4abf268View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96dc091 - Browse repository at this point
Copy the full SHA 96dc091View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6880eb1 - Browse repository at this point
Copy the full SHA 6880eb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3ae027 - Browse repository at this point
Copy the full SHA d3ae027View commit details -
Configuration menu - View commit details
-
Copy full SHA for c585fc9 - Browse repository at this point
Copy the full SHA c585fc9View commit details
Commits on Mar 25, 2021
-
wrap queries execution in execute_* functions with specs; minor fixes…
… for mssql and mysql
Configuration menu - View commit details
-
Copy full SHA for 2964543 - Browse repository at this point
Copy the full SHA 2964543View commit details
Commits on Mar 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 995641b - Browse repository at this point
Copy the full SHA 995641bView commit details
Commits on Mar 31, 2021
-
Merge pull request #3047 from esl/lw-prepared-queries-pubsub
prepared queries pubsub
Configuration menu - View commit details
-
Copy full SHA for bf53762 - Browse repository at this point
Copy the full SHA bf53762View commit details -
Use prepared queries for get_items
- Unchanged behaviour without item ids - Slight changes if item ids are provided: - Results are fetched one by one - should be fast enough as there shouldn't be too many IDs and there is a way to limit this. - Results have the same order as item ids - this is more intuitive for the end user, XEP-0060 does not specify this - max_items with item ids is a combination not mentioned in the XEP, but still supported for completeness.
Configuration menu - View commit details
-
Copy full SHA for 0a6b07d - Browse repository at this point
Copy the full SHA 0a6b07dView commit details
Commits on Apr 7, 2021
-
Use prepared queries for set_node
- Separate INSERT and SELECT to work on all DBs - SELECT the entire row as this query is already prepared and is not much more costly
Configuration menu - View commit details
-
Copy full SHA for 85547eb - Browse repository at this point
Copy the full SHA 85547ebView commit details -
Use prepared queries for 'set_parents'
- Insert parents one by one - Always delete old parents on update to prevent the corner case when all aprents are deleted.
Configuration menu - View commit details
-
Copy full SHA for de3589b - Browse repository at this point
Copy the full SHA de3589bView commit details -
Use prepared queries for selecting children and parent nodes
Traverse nodes one by one - it might be slower, but complex collection structures shouldn't be used frequently.
Configuration menu - View commit details
-
Copy full SHA for ca8c114 - Browse repository at this point
Copy the full SHA ca8c114View commit details -
Merge pull request #3065 from esl/prepared-queries-pubsub-2
Prepared queries for PubSub - part 2
Configuration menu - View commit details
-
Copy full SHA for ac21acf - Browse repository at this point
Copy the full SHA ac21acfView commit details