Home / Type/ DrizzleBunSqliteDatabaseOptions Type — drizzle-orm Architecture

DrizzleBunSqliteDatabaseOptions Type — drizzle-orm Architecture

Architecture documentation for the DrizzleBunSqliteDatabaseOptions type/interface in driver.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  f870b0b5_a4e7_8325_27ea_9156251c9275["DrizzleBunSqliteDatabaseOptions"]
  ade454a0_abf8_c234_ac4a_1a7e60fde376["driver.ts"]
  f870b0b5_a4e7_8325_27ea_9156251c9275 -->|defined in| ade454a0_abf8_c234_ac4a_1a7e60fde376
  style f870b0b5_a4e7_8325_27ea_9156251c9275 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/bun-sqlite/driver.ts lines 23–42

type DrizzleBunSqliteDatabaseOptions = {
	/**
	 * Open the database as read-only (no write operations, no create).
	 *
	 * Equivalent to {@link constants.SQLITE_OPEN_READONLY}
	 */
	readonly?: boolean;
	/**
	 * Allow creating a new database
	 *
	 * Equivalent to {@link constants.SQLITE_OPEN_CREATE}
	 */
	create?: boolean;
	/**
	 * Open the database as read-write
	 *
	 * Equivalent to {@link constants.SQLITE_OPEN_READWRITE}
	 */
	readwrite?: boolean;
};

Frequently Asked Questions

What is the DrizzleBunSqliteDatabaseOptions type?
DrizzleBunSqliteDatabaseOptions is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/bun-sqlite/driver.ts.
Where is DrizzleBunSqliteDatabaseOptions defined?
DrizzleBunSqliteDatabaseOptions is defined in drizzle-orm/src/bun-sqlite/driver.ts at line 23.

Analyze Your Own Codebase

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

Try Supermodel Free