python - query by ListField(ReferenceField) and parants id -
i have models:
class group(basedocument): movies = listfield(referencefield('movie'), required=false) season = intfield() class movie(moviebase): season = intfield() episode = intfield()
i whant movie thats season 5 , movie parent id (group) parent_id, how can this?
Comments
Post a Comment