Skip to content

Maintain previously selected columns when calling selecting_distance_from#49

Open
cgunther wants to merge 1 commit into
diogob:masterfrom
cgunther:fix-selecting_distance_from-with-explicit-select
Open

Maintain previously selected columns when calling selecting_distance_from#49
cgunther wants to merge 1 commit into
diogob:masterfrom
cgunther:fix-selecting_distance_from-with-explicit-select

Conversation

@cgunther
Copy link
Copy Markdown

Previously, if you called Model.select('my_column').selecting_distance_from, those columns you explicitly selected would be lost in the resulting query as selecting_distance_from completely replaced the selected columns.

Now, selecting_distance_from will append (set union) to the previously selected columns.

…_from`

Previously, if you called `Model.select('my_column').selecting_distance_from`,
those columns you explicitly selected would be lost in the resulting
query as `selecting_distance_from` completely replaced the selected
columns.

Now, `selecting_distance_from` will append (set union) to the previously
selected columns.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant