getUsersTable() — drizzle-orm Function Reference
Architecture documentation for the getUsersTable() function in tables.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD b2a5eba4_f3cd_ca95_ba67_ea24a2ce8bf3["getUsersTable()"] 90245908_3b36_3ea5_9b2d_3ed0d20a7a6c["tables.ts"] b2a5eba4_f3cd_ca95_ba67_ea24a2ce8bf3 -->|defined in| 90245908_3b36_3ea5_9b2d_3ed0d20a7a6c style b2a5eba4_f3cd_ca95_ba67_ea24a2ce8bf3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/type-tests/singlestore/tables.ts lines 639–644
const getUsersTable = <TSchema extends string>(schemaName: TSchema) => {
return singlestoreSchema(schemaName).table('users', {
id: int('id').primaryKey(),
name: text('name').notNull(),
});
};
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does getUsersTable() do?
getUsersTable() is a function in the drizzle-orm codebase, defined in drizzle-orm/type-tests/singlestore/tables.ts.
Where is getUsersTable() defined?
getUsersTable() is defined in drizzle-orm/type-tests/singlestore/tables.ts at line 639.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free