-
Notifications
You must be signed in to change notification settings - Fork 67
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
Support for schema v1 requests with more parameters #210
Comments
Assigning myself for now, but happy to defer if someone else wants to implement it (I expect to be more focused on roadmap stuff for the remainder of this cycle). |
Hi @cole-miller, any plans to implement this in the near future? Using dqlite with SQLBoiler ORM is difficult due to this issue. SQLBoiler is often building queries that rely on using multiple parameters. In some cases it might be difficult to rewrite a query in a way that avoids providing multiple parameters without breaking ORM patterns. For example, loading foreign key relationships with qm.Load is causing
I tried increasing increasing |
@cole-miller Thanks for addressing this quickly! I've tried your pull request and it resolves the issue I was running into earlier. Do you plan to merge it soon? |
I've implemented server-side support for versions of the EXEC, EXEC_SQL, QUERY, and QUERY_SQL requests that can include up to 2^32 - 1 statement parameters in canonical/dqlite#407. We'll want to implement client-side support for these in go-dqlite. The higher-level interface in the client package will need to take into account that older dqlite servers won't handle the new-style requests properly (they will try and presumably fail to parse them in the old format), perhaps with some kind of graceful fallback to the more limited old-style requests.
The text was updated successfully, but these errors were encountered: