Skip to content

column names and types json #187

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 1 commit into from
Mar 23, 2025
Merged

Conversation

jraymakers
Copy link
Contributor

Add functions to return column names and types as JSON, on both DuckDBResult and DuckDBResultReader:

  • columnTypeJson(columnIndex)
  • columnTypesJson()
  • columnNamesAndTypesJson()
  • columnNameAndTypeObjectsJson()

Add tests and documentation for the above.

@jraymakers jraymakers merged commit 323bf1e into main Mar 23, 2025
5 checks passed
@jraymakers jraymakers deleted the jray/column-names-and-types-json branch March 23, 2025 20:58
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