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

pkExampleTable() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  37c1ec33_ea2a_65c4_57f0_082334fce869["pkExampleTable()"]
  6946043a_dab4_e149_5ebe_24dacb75bdf1["index.ts"]
  37c1ec33_ea2a_65c4_57f0_082334fce869 -->|defined in| 6946043a_dab4_e149_5ebe_24dacb75bdf1
  style 37c1ec33_ea2a_65c4_57f0_082334fce869 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

integration-tests/tests/sqlite/durable-objects/index.ts lines 112–114

}, (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/durable-objects/index.ts.
Where is pkExampleTable() defined?
pkExampleTable() is defined in integration-tests/tests/sqlite/durable-objects/index.ts at line 112.

Analyze Your Own Codebase

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

Try Supermodel Free