-
Notifications
You must be signed in to change notification settings - Fork 17
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
selection not working on one to many on the one side. #25
Comments
Refers to .populate(assoc, {select: []}) |
@mikermcneil - do you have a few minutes to spare on this problem I'm facing? When doing { where: null,
select: [ 'id', 'user', 'requests' ],
instructions:
{ user:
{ strategy: { strategy: 1, meta: { parentFK: 'user' } },
instructions:
[ { parent: 'groups',
parentKey: 'user',
child: 'user',
childKey: 'id',
select: [ 'id' ],
reducedSelection: true,
alias: 'user',
removeParentKey: true,
model: true,
collection: false,
criteria: { where: {}, select: [ 'id' ] } } ] } } } I wanted to avoid peeking into WLSequel and hence, trying to see if this can be addressed from outside. The above instruction is a result from |
@mikermcneil - had to fork wl-sequel. Is this change worth pushing to original wl-sequel? Closing it since #28 fixes it. |
No description provided.
The text was updated successfully, but these errors were encountered: