Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support partial results #53

Closed
knazarov opened this issue Oct 7, 2020 · 2 comments
Closed

Support partial results #53

knazarov opened this issue Oct 7, 2020 · 2 comments

Comments

@knazarov
Copy link
Contributor

knazarov commented Oct 7, 2020

Add support for getting only a subset of fields. Like this:

crud.get('customers', 1, {fields={'id', 'name'}})
---
- metadata:
  - {'name': 'id', 'type': 'unsigned'}
  - {'name': 'name', 'type': 'string'}
  rows:
  - [1, 'Elizabeth']
...
@knazarov
Copy link
Contributor Author

knazarov commented Oct 7, 2020

Note: it is possible that we'd want to keep bucket_id and primary key always in the result, no matter if they were specified or not. Let's think about it.

@dokshina
Copy link
Contributor

Closed by #116, #117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants