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

custom name for 'docs' property #155

Open
fabioricali opened this issue Jul 5, 2019 · 2 comments
Open

custom name for 'docs' property #155

fabioricali opened this issue Jul 5, 2019 · 2 comments

Comments

@fabioricali
Copy link

Hi,
it's possible to change the property docs to a custom name?
I would have put "rows", it seems more appropriate.

@deleteeeeeeeeeeeed
Copy link

you should use new obj
like this :
let result = await your query; return { custom count name : result.count ; }

@ph-csanchez
Copy link

they should be "rows"

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

3 participants