deno/ext/node/polyfills/sqlite.ts
Divy Srivastava fb723098a5
Some checks are pending
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / build wasm32 (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
fix(ext/node): export StatementSync from node:sqlite (#29563)
Extracted from https://github.com/denoland/deno/pull/29404

Upgrades deno_core to 0.350.0
2025-06-02 11:34:41 +00:00

23 lines
504 B
TypeScript

// Copyright 2018-2025 the Deno authors. MIT license.
import { DatabaseSync, StatementSync } from "ext:core/ops";
export const constants = {
SQLITE_CHANGESET_OMIT: 0,
SQLITE_CHANGESET_REPLACE: 1,
SQLITE_CHANGESET_ABORT: 2,
SQLITE_CHANGESET_DATA: 1,
SQLITE_CHANGESET_NOTFOUND: 2,
SQLITE_CHANGESET_CONFLICT: 3,
SQLITE_CHANGESET_CONSTRAINT: 4,
SQLITE_CHANGESET_FOREIGN_KEY: 5,
};
export { DatabaseSync, StatementSync };
export default {
constants,
DatabaseSync,
StatementSync,
};