can() — drizzle-orm Function Reference
Architecture documentation for the can() function in sqlgenerator.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD ae0ec60c_502f_7179_9800_bcc33cbee951["can()"] 3f8eacfa_b6f8_8e92_71c5_86ba176bae05["SingleStoreAlterTableDropColumnConvertor"] ae0ec60c_502f_7179_9800_bcc33cbee951 -->|defined in| 3f8eacfa_b6f8_8e92_71c5_86ba176bae05 style ae0ec60c_502f_7179_9800_bcc33cbee951 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-kit/src/sqlgenerator.ts lines 1716–1718
can(statement: JsonStatement, dialect: Dialect): boolean {
return statement.type === 'alter_table_drop_column' && dialect === 'singlestore';
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does can() do?
can() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/sqlgenerator.ts.
Where is can() defined?
can() is defined in drizzle-kit/src/sqlgenerator.ts at line 1716.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free