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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -