Closed calopez closed 6 years ago
This is intended behavior. We use Sequel but it's an implementation detail, you should not have any expectations based on what Sequel does. The reason why we don't auto-append columns from a joined relation is pretty simple - you may have conflicting column names, and on top of that, auto-appending columns would be implicit behavior, we're trying to avoid that in rom in general.
VERSIONS
ROM::Relations Whe joining two relations only the columns of the relation running the
join
are returned. If I useassoc
instead ofjoin
, only the columns of the joining relation are returned. If I use Sequel al columns are returned, which is the result I expect.Reproducing the issue: