Skip to content

adds BOOLEAN support to node.js bindings - #2784

Merged
Mytherin merged 3 commits into
duckdb:masterfrom
hamilton:boolean-support-nodejs
Dec 13, 2021
Merged

Mytherin merged 3 commits into
duckdb:masterfrom
hamilton:boolean-support-nodejs

Conversation

@hamilton

@hamilton hamilton commented Dec 12, 2021 •

Copy link
Copy Markdown
Contributor

Closes #1342

This PR does the following:

  • adds BOOLEAN support to the duckdb node bindings. This addition will also incidentally fix the PRAGMA table_info problem mentioned in the github issue above.
  • contributes a test, data_type_support.test.js, which verifies the support. This test file could grow to include more comprehensive support both for existing supported data types and ones that need to be add (e.g. INTERVAL as per add support for INTERVAL in node.js bindings #2787)

@hamilton hamilton changed the title adds BOOLEAN support to node.js adds BOOLEAN support to node.js bindings Dec 12, 2021

@Mytherin Mytherin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Looks good to me. Will merge after the tests pass.

Comment thread tools/nodejs/package.json Outdated
@Mytherin
Mytherin merged commit a3ba38f into duckdb:master Dec 13, 2021
@Mytherin

Copy link
Copy Markdown
Member

Thanks!

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.

PRAGMA table_info returns Data type error on node.js environment

3 participants