Hi everybody.

If I have this simple model:
----------------------
class Operator < Sequel::Model
  one_to_many :directions
end

class Direction < Sequel::Model
  many_to_one :operator
end
----------------------

I'd like to load an operator with all their directions in one quey. How can 
I do it with :eager options. :eager option is not usable in this case and I 
don't know it there is any other possibility.

Thank you very much.

-- 
David

-- 
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 sequel-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/b1ada8ad-bf4a-42ca-ba3d-cf2a718721d6o%40googlegroups.com.

Reply via email to