Skip to content

Add raw() method - fixes #194 #196

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

Merged
merged 2 commits into from
Aug 12, 2021
Merged

Add raw() method - fixes #194 #196

merged 2 commits into from
Aug 12, 2021

Conversation

porsager
Copy link
Owner

@porsager porsager commented Jun 23, 2021

The raw method returns rows as arrays of null | Buffer columns instead of objects. This allows some performance gains for specific scenarios and also retrieval of columns with the same name.

I'm thinking an argument with properties can be added in the future if for instance you'd like to have the values parsed but still rows as arrays etc.

Would you be interested in making the types for this @Minigugus ?

Documentation for .raw() also needs to be added to the before merging this.

@porsager porsager requested a review from Minigugus June 25, 2021 11:27
@porsager porsager merged commit 8b405b3 into master Aug 12, 2021
@porsager porsager deleted the raw branch September 19, 2021 07:55
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

Successfully merging this pull request may close these issues.

1 participant