-
Notifications
You must be signed in to change notification settings - Fork 66
Query repeated structured properties. #103
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
Query repeated structured properties. #103
Conversation
cguardia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just a couple of doc typos.
src/google/cloud/ndb/query.py
Outdated
| This query should find any squad with a member named "Joe" whose age is 24 | ||
| and rank is 5. | ||
| Datastore, on its own, can find all squads a with a team member named Joe, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: should be "all squads with".
src/google/cloud/ndb/query.py
Outdated
| Datastore, on its own, can find all squads a with a team member named Joe, | ||
| or a team member whose age is 24, or whose rank is 5, but it can't be | ||
| queried for all 3 in a single subentity. This predicate must be applied | ||
| client side, therefore, to limit results to entities where the all keys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be "where all the keys".
src/google/cloud/ndb/query.py
Outdated
| (e.g. "members"). | ||
| match_keys (list[str]): Property names to check on the subentities | ||
| being queried (e.g. ["name", "age", "rank"]). | ||
| entity_pb (entity_pb2.Entity): A partial entity prototocol buffer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be "protocol".
No description provided.