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

employees() — drizzle-orm Function Reference

Architecture documentation for the employees() function in sqliteSchema.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  6a2d9a0f_25e6_f695_3834_f317c41d47f7["employees()"]
  ef4d075b_0c0e_66ce_60b3_dd1d7f53d2fd["sqliteSchema.ts"]
  6a2d9a0f_25e6_f695_3834_f317c41d47f7 -->|defined in| ef4d075b_0c0e_66ce_60b3_dd1d7f53d2fd
  style 6a2d9a0f_25e6_f695_3834_f317c41d47f7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

integration-tests/tests/seeder/sqliteSchema.ts lines 37–42

	(table) => ({
		reportsToFk: foreignKey(() => ({
			columns: [table.reportsTo],
			foreignColumns: [table.id],
		})),
	}),

Domain

Subdomains

Frequently Asked Questions

What does employees() do?
employees() is a function in the drizzle-orm codebase, defined in integration-tests/tests/seeder/sqliteSchema.ts.
Where is employees() defined?
employees() is defined in integration-tests/tests/seeder/sqliteSchema.ts at line 37.

Analyze Your Own Codebase

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

Try Supermodel Free