usersToGroupsConfig() — drizzle-orm Function Reference
Architecture documentation for the usersToGroupsConfig() function in singlestore.schema.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD c711aedb_57bb_716b_e602_346402ebf3a5["usersToGroupsConfig()"] a47d293e_969b_f3ef_0270_527225b9cd39["singlestore.schema.ts"] c711aedb_57bb_716b_e602_346402ebf3a5 -->|defined in| a47d293e_969b_f3ef_0270_527225b9cd39 style c711aedb_57bb_716b_e602_346402ebf3a5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
integration-tests/tests/relational/singlestore.schema.ts lines 41–50
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/relational/singlestore.schema.ts.
Where is usersToGroupsConfig() defined?
usersToGroupsConfig() is defined in integration-tests/tests/relational/singlestore.schema.ts at line 41.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free