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

Documentation for the get*JSON and getObject* functions #180

Open
subos2008 opened this issue Mar 14, 2025 · 1 comment
Open

Documentation for the get*JSON and getObject* functions #180

subos2008 opened this issue Mar 14, 2025 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@subos2008
Copy link

Having coded up everything using reader.getRows() I noticed their appear to be a set of undocumented utility functions that - I assume - combine all the column header and row values into an array of objects?

Could we get example cases for reading/writing using objects into the docs? I'm pretty nervous about how fragile the lower level interface is when my schema changes.

Once again - thanks for wrapping DuckDB for us! Super useful tool.

@jraymakers
Copy link
Contributor

See the section "Convert Result Data to JSON" in the docs on the NPM page. The docs on duckdb.org are a bit out of date; I'll work on getting them updated.

@jraymakers jraymakers added the documentation Improvements or additions to documentation label Mar 15, 2025
@jraymakers jraymakers self-assigned this Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants