pyeve / eve-sqlalchemy

SQLAlchemy data layer for Eve-powered RESTful APIs
http://eve-sqlalchemy.readthedocs.io
Other
234 stars 70 forks source link

Query a relationship #55

Closed samtux closed 9 years ago

samtux commented 9 years ago

Is possible to filter by fields in a collection?. I require to filter the following response:

https://gist.github.com/samtux/bcf4783f450aa3ca905f

I tried the following queries according to the documentation python-evis:

respuesta?where={"pregunta.pregunta.formulario.idgrupotrabajo":540544}
respuesta?where={"pregunta":{"formulario":{"idgrupotrabajo":540544}}}

But I have not been able to perform the filter.

Thanks.

amleczko commented 9 years ago

I don't think that this is currently possible. Sorry.