All files / third-parties/drizzle-adapter/src index.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40                                                                               
// Bootstrap surface: how you connect, what `drizzle()` returns, and the error
// classes you catch. For schemas, YQL expressions, and migrations import from
// `@ydbjs/drizzle-adapter/schema`, `/sql`, and `/migrator` respectively.
 
export {
	createDrizzle,
	drizzle,
	type YdbDrizzleConfig,
	type YdbDrizzleDatabase,
	type YdbDrizzleOptions,
} from './ydb/createDrizzle.js'
export {
	YdbDriver,
	type YdbDriverOptions,
	type YdbExecuteOptions,
	type YdbExecutor,
	type YdbQueryMeta,
	type YdbQueryResult,
	type YdbRemoteCallback,
	type YdbTransactionalExecutor,
	type YdbTransactionConfig,
} from './ydb/driver.js'
export {
	YdbAuthenticationError,
	YdbCancelledQueryError,
	YdbOverloadedQueryError,
	YdbQueryExecutionError,
	YdbRetryableQueryError,
	YdbTimeoutQueryError,
	YdbUnavailableQueryError,
	YdbUniqueConstraintViolationError,
	type YdbQueryErrorDetails,
	type YdbQueryErrorKind,
} from './ydb/errors.js'
export type { YdbTransactionScope } from './ydb-core/db.js'
// Relations are re-exported so schemas declared with
// `@ydbjs/drizzle-adapter/schema` can stand up the relations API from a single
// install without depending on `drizzle-orm` directly.
export { createMany as many, createOne as one, relations } from 'drizzle-orm'