On Sunday, June 25, 2017 at 2:20:54 AM UTC-7, Aryk Grosz wrote: > > Hi Jeremy, > > Would it be possible to give a way to overwrite the "STREAMING_SUPPORTED" > variable in the mysql2 adapter with an option in paged_each? > > That way, we could still use paged_each, but use the normal limit, offset > approach found in other orms. Wouldn't this resolve the issues that happen > due to mysql streaming? >
That's pretty simple to do. Maybe just a :stream=>false option, and if that is present, call super instead of using streaming? If you'd like to see that, please submit a pull request. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
