EN

@core / db

1.0.0 ▾
verifiedMIT
GitHub

Postgres with Drizzle: shared client, per-module schemas, transactions and ULID ids

Code8 filesContext~547 tokensscan passed

The exact tree that will be injected, after .genpmignore. Pinned to

src/lib/db/index.tsread-only · 28d4b9f
// @core/db — API pública. Importa siempre desde aquí: `import { getDb, withTransaction } from '../db/index.js'`.
export { createDb, type Db, type Executor, getDb, setDb, type Tx } from './client.js';
export { primaryId, timestamps } from './columns.js';
export { withTransaction } from './transaction.js';
export { newId, ulid, ulidTime } from './ulid.js';

Report @core/db

Sign in with GitHub to report a package.