Note: this example is just representative of the problem, not a real use case
I would like to know if I have a certain objects for example Car and CarCategory:
Owner
- name
- age
Car
- name
- brand
- category( reference )
- owner ( reference )
CarCategory
- name
- property
Can I query for a certain field?
For example CarCategory:
query = GqlQuery("SELECT category FROM Car")
I'm getting this error: BadQueryError: Parse Error: Expected no additional symbols at symbol Car
Update: What if want to have a list of all the categories owned by a certain user
I would like to do it in the most efficient possible way.