prepareDeleteCompositePrimaryKeySqlite() — drizzle-orm Function Reference
Architecture documentation for the prepareDeleteCompositePrimaryKeySqlite() function in jsonStatements.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 4e59492b_302f_9630_01be_4780ab8e6d2d["prepareDeleteCompositePrimaryKeySqlite()"] 6139f734_8ada_c641_9fec_9a55cfdf376f["jsonStatements.ts"] 4e59492b_302f_9630_01be_4780ab8e6d2d -->|defined in| 6139f734_8ada_c641_9fec_9a55cfdf376f d9097b7e_1e27_d29f_7732_f2fa1447f2b8["applySqliteSnapshotsDiff()"] d9097b7e_1e27_d29f_7732_f2fa1447f2b8 -->|calls| 4e59492b_302f_9630_01be_4780ab8e6d2d 55569cde_7638_9cfc_9dcd_34636d975ec3["applyLibSQLSnapshotsDiff()"] 55569cde_7638_9cfc_9dcd_34636d975ec3 -->|calls| 4e59492b_302f_9630_01be_4780ab8e6d2d style 4e59492b_302f_9630_01be_4780ab8e6d2d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-kit/src/jsonStatements.ts lines 3127–3138
export const prepareDeleteCompositePrimaryKeySqlite = (
tableName: string,
pks: Record<string, string>,
): JsonDeleteCompositePK[] => {
return Object.values(pks).map((it) => {
return {
type: 'delete_composite_pk',
tableName,
data: it,
} as JsonDeleteCompositePK;
});
};
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does prepareDeleteCompositePrimaryKeySqlite() do?
prepareDeleteCompositePrimaryKeySqlite() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/jsonStatements.ts.
Where is prepareDeleteCompositePrimaryKeySqlite() defined?
prepareDeleteCompositePrimaryKeySqlite() is defined in drizzle-kit/src/jsonStatements.ts at line 3127.
What calls prepareDeleteCompositePrimaryKeySqlite()?
prepareDeleteCompositePrimaryKeySqlite() is called by 2 function(s): applyLibSQLSnapshotsDiff, applySqliteSnapshotsDiff.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free