-
Notifications
You must be signed in to change notification settings - Fork 25
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
How to merge list of plans without batching #26
Comments
In this case, what is the output of |
I tough it could to be just equal to
So any tips how to implement Thanks! |
Ok. After going through
|
Hi, The definition for However, before you jump to using that, have you tested When it builds a query batch, Rezoom.SQL won't add a new query to the batch if it would cause the total number of parameters to exceed the limit for the |
Thanks @rkosafo it works perfectly! @rspeele I have got error with large in-statements but also with inserts. Columns may vary but issue remains. All inserts are currently in this form:
|
Hi
I am creating SQL query which insert potentially thousands of rows. Issue is that there is max length of parameters in query: yiisoft/yii2#10371
If actions doesn't return anything you can just combine bathing and non batching for loops:
On the other hand you need to return data so
concurrentList
should(?) be used:But this batches all the work and may be fail for too big query. So if there would be
Plan.nonConcurrentList
I could do something like this:Any hints?
The text was updated successfully, but these errors were encountered: