Skip to content

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

@mureinik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions