Skip to content

Fix for selecting specific fields in population for one-to-one relationship#1613

Open
TahaBoulehmi wants to merge 2 commits intobalderdashy:masterfrom
TahaBoulehmi:patch-1
Open

Fix for selecting specific fields in population for one-to-one relationship#1613
TahaBoulehmi wants to merge 2 commits intobalderdashy:masterfrom
TahaBoulehmi:patch-1

Conversation

@TahaBoulehmi
Copy link

Fix for selecting specific fields in population for one-to-one relationship

If there is a population for a one-to-one relationship, we should accept only "select" and "omit" attributes.

…onship

If there is a population for a one-to-one relationship, we should accept only "select" and "omit" attributes.
@TahaBoulehmi TahaBoulehmi mentioned this pull request Nov 19, 2019
@yash3492
Copy link

Any progress on this guys? This is one of long awaited fix from sails developers.

Thanks!

@alexjv89
Copy link
Contributor

I would love to have this merged as well.. I use this feature frequently ! Thanks @TahaBoulehmi for the fix

@feschaffa
Copy link

What is holding this back? Needed this today, using your fix, thanks @TahaBoulehmi

@MattGarnettWelsh
Copy link

Please merge this! Vital stuff that's been waiting for a long time. We also would make heavy use of populate select for one-to-one relationships.

@pedrochee
Copy link

can wait till this is fully reviewed, great fix. Already tested the change and works like a charm. Please hurry and merge

@mikermcneil mikermcneil requested review from eashaw and removed request for mikermcneil July 1, 2023 23:59
@AurorahHarmony
Copy link

Is it possible to get this reviewed soon? Need it urgently

@Cicolas
Copy link

Cicolas commented Sep 15, 2025

is there any update on this?

i'm refactoring a big code base that uses a lot of native sql queries, and that would be very handy on a lot of cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

8 participants