A database client that manages local data synchronization and provides an interface for executing SQL queries and watching data changes.
// Source: https://github.com/powersync-ja/powersync-js | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import { DBAdapter, DBGetUtils, LockContext, SqlExecutor, Transaction } from '../db/DBAdapter.js';
import { SyncStatus } from '../db/crud/SyncStatus.js';
import { Schema } from '../db/schema/Schema.js';
import { BaseListener, BaseObserverInterface } from '../utils/BaseObserver.js';
import { WatchedQueryComparator } from './watched/processors/comparators.js';
import { PowerSyncLogger } from '../utils/Logger.js';
import { DatabaseSource } from './SQLOpenFactory.js';
import { TriggerManager } from './triggers/TriggerManager.js';
import { PowerSyncBackendConnector } from './connecti
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key