Closed mau21mau closed 5 years ago
I would like to perform a query on a nested attribute of the user model. Example:
Suppose I have a model:
user = { name: "John", birth_date: "12-25-1995", address: { street: "Street 1", postal_code: "888-000" } } my_user = User.Query.filter(address__street="Street 1")
Merged. Thanks! Might be good to also add this to the readme.
I would like to perform a query on a nested attribute of the user model. Example:
Suppose I have a model: