Home / Function/ pkExampleTable() — drizzle-orm Function Reference

pkExampleTable() — drizzle-orm Function Reference

Architecture documentation for the pkExampleTable() function in sqlite-common.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  04bbf325_e662_f923_d4d7_ee839012628f["pkExampleTable()"]
  46ce8b0c_dd54_2020_c1e8_2865e4c5e575["sqlite-common.ts"]
  04bbf325_e662_f923_d4d7_ee839012628f -->|defined in| 46ce8b0c_dd54_2020_c1e8_2865e4c5e575
  style 04bbf325_e662_f923_d4d7_ee839012628f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

integration-tests/tests/sqlite/sqlite-common.ts lines 163–165

}, (table) => ({
	compositePk: primaryKey({ columns: [table.id, table.name] }),
}));

Domain

Subdomains

Frequently Asked Questions

What does pkExampleTable() do?
pkExampleTable() is a function in the drizzle-orm codebase, defined in integration-tests/tests/sqlite/sqlite-common.ts.
Where is pkExampleTable() defined?
pkExampleTable() is defined in integration-tests/tests/sqlite/sqlite-common.ts at line 163.

Analyze Your Own Codebase

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

Try Supermodel Free