All files / third-parties/drizzle-adapter/src schema.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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66                                                                                                                                   
// Schema declaration surface: tables, columns, constraints, indexes, options.
// Pair with `@ydbjs/drizzle-adapter` (driver/client) and
// `@ydbjs/drizzle-adapter/sql` (YQL expressions).
 
export { ydbTable, ydbTableCreator, type YdbTable, type YdbTableFn } from './ydb-core/table.js'
export { primaryKey } from './ydb-core/primary-keys.js'
export { unique } from './ydb-core/unique-constraint.js'
export {
	columnFamily,
	partitionByHash,
	rawTableOption,
	tableOptions,
	ttl,
	type YdbColumnFamilyOptions,
	type YdbTableOptionValue,
	type YdbTtlAction,
	type YdbTtlUnit,
} from './ydb-core/table-options.js'
export {
	index,
	indexView,
	uniqueIndex,
	vectorIndex,
	vectorIndexView,
	type YdbVectorDistance,
	type YdbVectorKMeansTreeOptions,
	type YdbVectorSimilarity,
	type YdbVectorType,
} from './ydb-core/indexes.js'
export { customType } from './ydb-core/columns/custom.js'
export { int, integer } from './ydb-core/columns/integer.js'
export { text } from './ydb-core/columns/text.js'
export {
	bigint,
	binary,
	boolean,
	bytes,
	date,
	date32,
	datetime,
	datetime64,
	decimal,
	double,
	dyNumber,
	float,
	int8,
	int16,
	interval,
	interval64,
	json,
	jsonDocument,
	timestamp,
	timestamp64,
	uint8,
	uint16,
	uint32,
	uint64,
	uuid,
	yson,
} from './ydb-core/columns/types.js'
export type {
	YdbSchemaDefinition,
	YdbSchemaRelations,
	YdbSchemaWithoutTables,
} from './ydb-core/schema.types.js'