MySqlProxy.ts overview
The mysql2 decoders the MySQL suites pass drizzle-orm/mysql-proxy, which in drizzle 1.0 decodes nothing itself, so the fixtures read values as mysql2 would. Never published.
Exports Grouped by Category
utils
mysqlProxyConfig
The second argument of drizzle-orm/mysql-proxy’s drizzle(callback, config): mysql2’s decoders (drizzle-orm/mysql2/codecs) for the column types the MySQL suites read, boolean (tinyint 1 / 0), datetime and timestamp.
Signature
declare const mysqlProxyConfig: {
readonly logger: false
readonly codecs: {
readonly boolean: { readonly normalize: (tinyint: number) => boolean }
readonly datetime: { readonly normalize: (value: string) => Date }
readonly timestamp: { readonly normalize: (value: string) => Date }
}
}