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

menuItemIngredients() — drizzle-orm Function Reference

Architecture documentation for the menuItemIngredients() function in pg.schema.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  75993752_a7ba_53d7_86ae_4f51359a7743["menuItemIngredients()"]
  6e66809b_2d53_90e9_685f_ad46ec0ffb9a["pg.schema.ts"]
  75993752_a7ba_53d7_86ae_4f51359a7743 -->|defined in| 6e66809b_2d53_90e9_685f_ad46ec0ffb9a
  style 75993752_a7ba_53d7_86ae_4f51359a7743 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

integration-tests/tests/relational/issues-schemas/wrong-mapping/pg.schema.ts lines 57–63

	(table) => ({
		menuItemIdIngredientIdOrderPk: primaryKey(
			table.menuItemId,
			table.ingredientId,
			table.order,
		),
	}),

Domain

Subdomains

Frequently Asked Questions

What does menuItemIngredients() do?
menuItemIngredients() is a function in the drizzle-orm codebase, defined in integration-tests/tests/relational/issues-schemas/wrong-mapping/pg.schema.ts.
Where is menuItemIngredients() defined?
menuItemIngredients() is defined in integration-tests/tests/relational/issues-schemas/wrong-mapping/pg.schema.ts at line 57.

Analyze Your Own Codebase

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

Try Supermodel Free