Hello!
Is there an ability to limit fields returning by model query (by RedisSearch's RETURN keyword)?
If not --- can you please add this task to the backlog? Something like "fields" and "exclude" methods would be great!
And another one question.
I've added RETURN functionality to pagination property. And now I have some problems with serialisation: Redis search returns results in format different than "regular" ( ["$", '{"json": "foo"}')] and as a result I have JsonModel with json strings into fields.
My crutch - override init of model to try to json.loads each init value.
Any good suggestions?
Hello! Is there an ability to limit fields returning by model query (by RedisSearch's RETURN keyword)? If not --- can you please add this task to the backlog? Something like "fields" and "exclude" methods would be great!
And another one question. I've added RETURN functionality to
pagination
property. And now I have some problems with serialisation: Redis search returns results in format different than "regular" ( ["$", '{"json": "foo"}')] and as a result I have JsonModel with json strings into fields. My crutch - override init of model to try to json.loads each init value. Any good suggestions?