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

Query response object (API change) #26

Open
alonsovb opened this issue Dec 20, 2024 · 0 comments
Open

Query response object (API change) #26

alonsovb opened this issue Dec 20, 2024 · 0 comments
Assignees
Labels
feature request Request for functionality that does not currently exist on the library

Comments

@alonsovb
Copy link
Contributor

alonsovb commented Dec 20, 2024

Feature request

Currently, the Presto client returns a simple object for the data retrieved from the Presto server.

With the JSON parsing that includes BigInt, now it's a bit more inconvenient just serializing the response with a JSON.stringify. So we should think about some kind of API, with a wrapper object for the response that allows easier serializing (something like response.toString() or response.text()) and retrieving the raw data. It could include retrieving by column name, etc.

@alonsovb alonsovb added the feature request Request for functionality that does not currently exist on the library label Dec 20, 2024
@alonsovb alonsovb self-assigned this Dec 20, 2024
@alonsovb alonsovb changed the title Query response object Query response object (API change) Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for functionality that does not currently exist on the library
Projects
None yet
Development

No branches or pull requests

1 participant