sqlconstruct icon indicating copy to clipboard operation
sqlconstruct copied to clipboard

Serialization control

Open lud4ik opened this issue 6 years ago • 1 comments

If I need to select some fields only for back purposes and return in response only limited set of keys, is there any ability to specify what fields to serialize?

lud4ik avatar Jan 29 '20 10:01 lud4ik

Query results are a dict-like objects, which must have the same set of keys as a Construct spec in the query. It is your responsibility to filter this dict-like object. So the answer is no, this is out of scope of this project :(

Please elaborate with an example if there is a possibility that I didn't understood your question.

vmagamedov avatar Jan 29 '20 15:01 vmagamedov