ZH
测试版翻译

@core / db

1.0.0 ▾
已验证MIT
GitHub

基于 Drizzle 的 Postgres:共享客户端、按模块划分的模式、事务和 ULID

代码8 个文件上下文约 547 个 token扫描通过

应用 .genpmignore 后将被注入的确切目录树。固定于

src/lib/db/index.ts只读 · 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';

举报 @core/db

使用 GitHub 登录后才能举报包。