usersToGroupsConfig() — drizzle-orm Function Reference
Architecture documentation for the usersToGroupsConfig() function in libsql-batch.test.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD eb7120fb_11d3_5087_5a99_9bd763c039eb["usersToGroupsConfig()"] cddbfccd_6dad_87a9_dbc4_c051b29bc7ef["libsql-batch.test.ts"] eb7120fb_11d3_5087_5a99_9bd763c039eb -->|defined in| cddbfccd_6dad_87a9_dbc4_c051b29bc7ef style eb7120fb_11d3_5087_5a99_9bd763c039eb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
integration-tests/tests/sqlite/libsql-batch.test.ts lines 51–60
export const usersToGroupsConfig = relations(usersToGroupsTable, ({ one }) => ({
group: one(groupsTable, {
fields: [usersToGroupsTable.groupId],
references: [groupsTable.id],
}),
user: one(usersTable, {
fields: [usersToGroupsTable.userId],
references: [usersTable.id],
}),
}));
Domain
Subdomains
Source
Frequently Asked Questions
What does usersToGroupsConfig() do?
usersToGroupsConfig() is a function in the drizzle-orm codebase, defined in integration-tests/tests/sqlite/libsql-batch.test.ts.
Where is usersToGroupsConfig() defined?
usersToGroupsConfig() is defined in integration-tests/tests/sqlite/libsql-batch.test.ts at line 51.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free