-
Notifications
You must be signed in to change notification settings - Fork 4
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
$select in $expand #7
Comments
As I mentioned in the previous issue Based on similar odata examples I would expect to implement it something like:
I.e. expand the author of queried books, select the title of the found books and populate only the name of the author. At the moment If this is a relatively isolated use case you could, as a workaround, implement it as a static relationship on your E.g. (not tested, just off the top of my head)
Then you should be able to use that static relationship as if you were querying and get just the specifics for the related objects expanded. Since E.g. |
I.e.
|
Hi var campaignsResource = new Resource({ |
Also can you add nested $expand on your dev plans looks like multi-level (nested) aggregate $lookup ? |
Can you please expand on your previous request? Does your thinking differ from what I had outlined earlier in this issue thread? I.e. It may be a little while before I can get to working on this issue so hopefully, the workaround will do for now. |
Hi
$expand is working correctly without in select but
I try to use $select in $expand and it doesn't work.
How can I use it ?
localhost:3000/api/campaigns/?$select=campName campCompanies&$expand=relCompany($select=comSysName), campType($select=camTypeName), campCategories($select=catName)
The text was updated successfully, but these errors were encountered: