Skip to content

Query response object (API change)Β #26

@alonsovb

Description

@alonsovb

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.

Metadata

Metadata

Assignees

Labels

feature requestRequest for functionality that does not currently exist on the library

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions