Skip to content

Proposal: Namespacing sqlite constants #56193

Closed
@Renegade334

Description

@Renegade334

#54181 added wrappers for session methods, and to that end exports the SQLITE_CHANGESET_* constants to pass through to sqlite3changeset_apply().

These are currently exposed as enumerable top-level properties of the node:sqlite module. By contrast, other modules that export constants do so under their own exported constants namespace (os, vm etc.) to avoid polluting the module scope.

While the sqlite module remains experimental, would it be worth taking the opportunity to sequester these away as sqlite.constants.*?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions