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

usersToGroupsTable() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  df576a98_cc87_8209_4ec7_e79ce5d09538["usersToGroupsTable()"]
  d2943d45_7405_d988_d45c_daf2caa9d414["mysql.schema.ts"]
  df576a98_cc87_8209_4ec7_e79ce5d09538 -->|defined in| d2943d45_7405_d988_d45c_daf2caa9d414
  style df576a98_cc87_8209_4ec7_e79ce5d09538 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

integration-tests/tests/relational/mysql.schema.ts lines 70–72

	(t) => ({
		pk: primaryKey(t.userId, t.groupId),
	}),

Domain

Subdomains

Frequently Asked Questions

What does usersToGroupsTable() do?
usersToGroupsTable() is a function in the drizzle-orm codebase, defined in integration-tests/tests/relational/mysql.schema.ts.
Where is usersToGroupsTable() defined?
usersToGroupsTable() is defined in integration-tests/tests/relational/mysql.schema.ts at line 70.

Analyze Your Own Codebase

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

Try Supermodel Free