serializeSQLite() — drizzle-orm Function Reference
Architecture documentation for the serializeSQLite() function in index.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 635252db_7a68_131f_350d_60c2806f943d["serializeSQLite()"] c3eb904f_5390_9c0d_4b12_54d182c5f8c9["index.ts"] 635252db_7a68_131f_350d_60c2806f943d -->|defined in| c3eb904f_5390_9c0d_4b12_54d182c5f8c9 f28864cc_bfe5_d841_4b4d_7469a00327d0["prepareSQLiteDbPushSnapshot()"] f28864cc_bfe5_d841_4b4d_7469a00327d0 -->|calls| 635252db_7a68_131f_350d_60c2806f943d 9e7489ff_1b4d_bb21_dfdd_c572d42b308e["prepareSqliteMigrationSnapshot()"] 9e7489ff_1b4d_bb21_dfdd_c572d42b308e -->|calls| 635252db_7a68_131f_350d_60c2806f943d d2a6d85b_7d3b_7d17_794c_d2cd77de724c["prepareFilenames()"] 635252db_7a68_131f_350d_60c2806f943d -->|calls| d2a6d85b_7d3b_7d17_794c_d2cd77de724c style 635252db_7a68_131f_350d_60c2806f943d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-kit/src/serializer/index.ts lines 45–55
export const serializeSQLite = async (
path: string | string[],
casing: CasingType | undefined,
): Promise<SQLiteSchemaInternal> => {
const filenames = prepareFilenames(path);
const { prepareFromSqliteImports } = await import('./sqliteImports');
const { generateSqliteSnapshot } = await import('./sqliteSerializer');
const { tables, views } = await prepareFromSqliteImports(filenames);
return generateSqliteSnapshot(tables, views, casing);
};
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does serializeSQLite() do?
serializeSQLite() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/serializer/index.ts.
Where is serializeSQLite() defined?
serializeSQLite() is defined in drizzle-kit/src/serializer/index.ts at line 45.
What does serializeSQLite() call?
serializeSQLite() calls 1 function(s): prepareFilenames.
What calls serializeSQLite()?
serializeSQLite() is called by 2 function(s): prepareSQLiteDbPushSnapshot, prepareSqliteMigrationSnapshot.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free