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

user() — drizzle-orm Function Reference

Architecture documentation for the user() function in gel-ext.test.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  c8a27c68_b2de_1d63_09dd_cf52bbeae2e9["user()"]
  420ed34c_6b16_edc7_54c0_6d31aba86b76["gel-ext.test.ts"]
  c8a27c68_b2de_1d63_09dd_cf52bbeae2e9 -->|defined in| 420ed34c_6b16_edc7_54c0_6d31aba86b76
  style c8a27c68_b2de_1d63_09dd_cf52bbeae2e9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

integration-tests/tests/gel/gel-ext.test.ts lines 35–45

}, (table) => [
	uniqueIndex('d504514c-26a7-11f0-b836-81aa188c0abe;schemaconstr').using(
		'btree',
		table.id.asc().nullsLast().op('uuid_ops'),
	),
	foreignKey({
		columns: [table.identityId],
		foreignColumns: [identityInExtauth.id],
		name: 'User_fk_identity',
	}),
]);

Domain

Subdomains

Frequently Asked Questions

What does user() do?
user() is a function in the drizzle-orm codebase, defined in integration-tests/tests/gel/gel-ext.test.ts.
Where is user() defined?
user() is defined in integration-tests/tests/gel/gel-ext.test.ts at line 35.

Analyze Your Own Codebase

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

Try Supermodel Free