ExpectedType Type — drizzle-orm Architecture
Architecture documentation for the ExpectedType type/interface in mysql-common.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 2929274c_c2e0_b349_1352_5668e9cb0767["ExpectedType"] bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5["mysql-common.ts"] 2929274c_c2e0_b349_1352_5668e9cb0767 -->|defined in| bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 style 2929274c_c2e0_b349_1352_5668e9cb0767 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
integration-tests/tests/mysql/mysql-common.ts lines 4491–4521
type ExpectedType = {
serial: number;
bigint53: number | null;
bigint64: bigint | null;
binary: string | null;
boolean: boolean | null;
char: string | null;
date: Date | null;
dateStr: string | null;
datetime: Date | null;
datetimeStr: string | null;
decimal: string | null;
decimalNum: number | null;
decimalBig: bigint | null;
double: number | null;
float: number | null;
int: number | null;
json: unknown;
medInt: number | null;
smallInt: number | null;
real: number | null;
text: string | null;
time: string | null;
timestamp: Date | null;
timestampStr: string | null;
tinyInt: number | null;
varbin: string | null;
varchar: string | null;
year: number | null;
enum: 'enV1' | 'enV2' | null;
}[];
Source
Frequently Asked Questions
What is the ExpectedType type?
ExpectedType is a type/interface in the drizzle-orm codebase, defined in integration-tests/tests/mysql/mysql-common.ts.
Where is ExpectedType defined?
ExpectedType is defined in integration-tests/tests/mysql/mysql-common.ts at line 4491.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free