-
Notifications
You must be signed in to change notification settings - Fork 8
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
Modify $filter so that sub-objects can be filtered when queried. #3
base: master
Are you sure you want to change the base?
Conversation
Thanks. It seems to me this should be done in the odata server itself rather than in the adapter. Don't you think? |
That makes sense as long as it isn't adapter specific. The beauty of this library is that we can use any data-source as our data-store assuming we are willing to write the adapter. In the case of relational databases, I think this dot-notation would work with minimal tweaking, however, if we were to use an XML data-source, we would likely make use of xPath for queries and we would want to keep the slash separator. |
In order to support $expand operations the data model must be modified as follows:
user: {
User: { In the previous example, 'addresses' and 'shifts' are placeholder fields. In the event that a join does not take place, those fields will not be returned to the client.
|
Hm. The entitySet "joins" property is something that comes from the odata standard or it is something custom you came up with? Isn't this covered in odata navigation properties? I think this gets quite complex if it gets implemented correctly. |
No description provided.