Skip to content
bun:sqlite/ prisma adapter

Type Alias: BunSQLiteOptions

type BunSQLiteOptions = {
  timestampFormat?: TimestampFormat;
  shadowDatabaseUrl?: string;
  statementCacheSize?: number;
  pragmas?: PragmaOptions | false;
};

Defined in: types.ts:38

Properties

timestampFormat?

optional timestampFormat?: TimestampFormat;

Defined in: types.ts:40

How DateTime arguments are written. Defaults to ‘iso8601’.


shadowDatabaseUrl?

optional shadowDatabaseUrl?: string;

Defined in: types.ts:42

Database used by prisma migrate for diffing. Defaults to ‘:memory:’.


statementCacheSize?

optional statementCacheSize?: number;

Defined in: types.ts:44

Prepared statements to retain per connection. Defaults to 100; 0 disables.


pragmas?

optional pragmas?: PragmaOptions | false;

Defined in: types.ts:46

Connection PRAGMAs. Off unless set.