On Tuesday, August 18, 2020 at 2:10:44 AM UTC-7, David Espada wrote:
>
> 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
>
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