Skip to content

Maintain previously selected columns when calling selecting_distance_from #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cgunther
Copy link

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