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

usersConfig() — drizzle-orm Function Reference

Architecture documentation for the usersConfig() function in libsql-batch.test.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  72db5a99_a332_8343_09c0_cab6a273872b["usersConfig()"]
  cddbfccd_6dad_87a9_dbc4_c051b29bc7ef["libsql-batch.test.ts"]
  72db5a99_a332_8343_09c0_cab6a273872b -->|defined in| cddbfccd_6dad_87a9_dbc4_c051b29bc7ef
  style 72db5a99_a332_8343_09c0_cab6a273872b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

integration-tests/tests/sqlite/libsql-batch.test.ts lines 18–25

export const usersConfig = relations(usersTable, ({ one, many }) => ({
	invitee: one(usersTable, {
		fields: [usersTable.invitedBy],
		references: [usersTable.id],
	}),
	usersToGroups: many(usersToGroupsTable),
	posts: many(postsTable),
}));

Domain

Subdomains

Frequently Asked Questions

What does usersConfig() do?
usersConfig() is a function in the drizzle-orm codebase, defined in integration-tests/tests/sqlite/libsql-batch.test.ts.
Where is usersConfig() defined?
usersConfig() is defined in integration-tests/tests/sqlite/libsql-batch.test.ts at line 18.

Analyze Your Own Codebase

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

Try Supermodel Free