mirror of
https://github.com/nodejs/node.git
synced 2026-10-10 18:59:49 -04:00
Rename the DatabaseSync and StatementSync classes to Database and Statement, and the internal DatabaseSyncLimits helper to DatabaseLimits. The old names are kept as aliases of the new classes and are Documentation-only deprecated (DEP0210, DEP0211). Assisted-by: Claude Code Signed-off-by: Guilherme Araújo <arauujogui@gmail.com> PR-URL: https://github.com/nodejs/node/pull/65988 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
19 lines
474 B
JavaScript
19 lines
474 B
JavaScript
'use strict';
|
|
|
|
const { Database, Statement, Session, constants, backup } =
|
|
internalBinding('sqlite');
|
|
|
|
module.exports = {
|
|
Database,
|
|
// DEP0210: Documentation-only deprecation, kept for backward
|
|
// compatibility with the class's pre-rename name.
|
|
DatabaseSync: Database,
|
|
Statement,
|
|
// DEP0211: Documentation-only deprecation, kept for backward
|
|
// compatibility with the class's pre-rename name.
|
|
StatementSync: Statement,
|
|
Session,
|
|
constants,
|
|
backup,
|
|
};
|