Home / File/ sqliteSchema.ts — drizzle-orm Source File

sqliteSchema.ts — drizzle-orm Source File

Architecture documentation for sqliteSchema.ts, a typescript file in the drizzle-orm codebase. 1 imports, 1 dependents.

File typescript DrizzleORM 1 imports 1 dependents

Entity Profile

Dependency Diagram

graph LR
  b9a58765_f6d6_6d58_2916_1b8628d1f1c4["sqliteSchema.ts"]
  25248a9d_ba06_2b33_4421_8575da2f9c34["sqlite-core"]
  b9a58765_f6d6_6d58_2916_1b8628d1f1c4 --> 25248a9d_ba06_2b33_4421_8575da2f9c34
  6e754441_ef71_73f6_eaf3_f69567cc0c40["sqlite_all_data_types.test.ts"]
  6e754441_ef71_73f6_eaf3_f69567cc0c40 --> b9a58765_f6d6_6d58_2916_1b8628d1f1c4
  style b9a58765_f6d6_6d58_2916_1b8628d1f1c4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { blob, integer, numeric, real, sqliteTable, text } from 'drizzle-orm/sqlite-core';

export const allDataTypes = sqliteTable('all_data_types', {
	integerNumber: integer('integer_number', { mode: 'number' }),
	integerBoolean: integer('integer_boolean', { mode: 'boolean' }),
	integerTimestamp: integer('integer_timestamp', { mode: 'timestamp' }),
	integerTimestampms: integer('integer_timestampms', { mode: 'timestamp_ms' }),
	real: real('real'),
	text: text('text', { mode: 'text' }),
	textJson: text('text_json', { mode: 'json' }),
	blobBigint: blob('blob_bigint', { mode: 'bigint' }),
	blobBuffer: blob('blob_buffer', { mode: 'buffer' }),
	blobJson: blob('blob_json', { mode: 'json' }),
	numeric: numeric('numeric'),
});

Domain

Dependencies

  • sqlite-core

Frequently Asked Questions

What does sqliteSchema.ts do?
sqliteSchema.ts is a source file in the drizzle-orm codebase, written in typescript. It belongs to the DrizzleORM domain.
What does sqliteSchema.ts depend on?
sqliteSchema.ts imports 1 module(s): sqlite-core.
What files import sqliteSchema.ts?
sqliteSchema.ts is imported by 1 file(s): sqlite_all_data_types.test.ts.
Where is sqliteSchema.ts in the architecture?
sqliteSchema.ts is located at drizzle-seed/tests/sqlite/allDataTypesTest/sqliteSchema.ts (domain: DrizzleORM, directory: drizzle-seed/tests/sqlite/allDataTypesTest).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free