Hi,

I have some troubles with Sequel`s paged_each.  I'm using mysql2 
I have simple model:

class Attribute < Sequel::Model
  one_to_many :attribute_values
end


I'm connecting to slave database:
...
DB = Sequel.connect(config, servers: servers)
...

rails console:

irb(main):009:0> Attribute.methods
[... :paged_each, ...]

irb(main):008:0> Attribute.paged_each
(0.001443s) SELECT * FROM `attributes` ORDER BY `id`


-- 
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.

Reply via email to