Colin-b/layabase

Allow multilevel dot notation

Closed this issue · 4 comments

Allow using multiple levels of DictColumn and add them to the parser using dot notation.

It should already be the case, what's missing ?

https://github.com/Colin-b/layabase/blob/develop/layabase/_api_mongo.py#L27

Missing the {prefix} before {field.name} in
_add_query_field(parser, inner_field, f"{field.name}.")

Good catch, you can submit a PR for this one if you want. Otherwise I'll see when I have some time

Fixed in #28