Skip to content

Not all sqlite code snippet have CJS/ESM variants #60394

Description

@mureinik

Affected URL(s)

https://nodejs.org/api/sqlite.html

Description of the problem

Most code snippets have both CJS and ESM, as per the doc's standard. However, two functions stand out as being different:

  • createTagStore only has the ESM variant
  • applyChangeset only has one example which would work for either CJS or ESM, but is incomplete - it doesn't show how DatabaseSync is improted, and can't be executed without manually adding that part.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to Node.js documentation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions