mysql-common.ts — drizzle-orm Source File
Architecture documentation for mysql-common.ts, a typescript file in the drizzle-orm codebase. 10 imports, 6 dependents.
Entity Profile
Dependency Diagram
graph LR bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5["mysql-common.ts"] c440e00a_e318_94ac_100c_9843a182c7a4["config"] bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 --> c440e00a_e318_94ac_100c_9843a182c7a4 e9c5db23_dc8f_4a33_356a_8f8fbacc4a0e["dockerode"] bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 --> e9c5db23_dc8f_4a33_356a_8f8fbacc4a0e 690f7dfc_0aea_9ee8_d6e7_26bbb3689031["drizzle-orm"] bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 --> 690f7dfc_0aea_9ee8_d6e7_26bbb3689031 93ed9350_daa0_6c21_81a6_ed6b2a48bbdf["mysql-core"] bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 --> 93ed9350_daa0_6c21_81a6_ed6b2a48bbdf 9a4fa9c4_e900_cdc1_756f_bfc7a37a9312["mysql-proxy"] bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 --> 9a4fa9c4_e900_cdc1_756f_bfc7a37a9312 eef8eb61_1e0a_b66c_7c58_4d85a1195ccf["migrator"] bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 --> eef8eb61_1e0a_b66c_7c58_4d85a1195ccf 249e672a_a0ca_539d_aeb8_1505bb753d14["get-port"] bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 --> 249e672a_a0ca_539d_aeb8_1505bb753d14 de47b2dd_7ed5_08f6_5b8a_f44c9896ce49["uuid"] bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 --> de47b2dd_7ed5_08f6_5b8a_f44c9896ce49 8d35eaf2_a542_cfd4_fa1a_fafca0f02686["vitest"] bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 --> 8d35eaf2_a542_cfd4_fa1a_fafca0f02686 ecce3253_1e75_a87f_27b3_ca87e81a3024["utils.ts"] bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 --> ecce3253_1e75_a87f_27b3_ca87e81a3024 cceb9788_47a8_2a53_658b_c1023c0da2b6["mysql-custom.test.ts"] cceb9788_47a8_2a53_658b_c1023c0da2b6 --> bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 67de0eed_fd90_e4cb_d12b_d9c8ba324a0b["mysql-planetscale.test.ts"] 67de0eed_fd90_e4cb_d12b_d9c8ba324a0b --> bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 58669da3_16a2_44c1_542b_fe5b09cecafa["mysql-prefixed.test.ts"] 58669da3_16a2_44c1_542b_fe5b09cecafa --> bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 5852db24_8352_dcff_7363_b8ff5c9f3d7f["mysql-proxy.test.ts"] 5852db24_8352_dcff_7363_b8ff5c9f3d7f --> bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 style bcd266b2_f6a8_0abb_2a24_40a68c6f8cc5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/* eslint-disable @typescript-eslint/no-unused-vars */
import 'dotenv/config';
import Docker from 'dockerode';
import {
and,
asc,
avg,
avgDistinct,
count,
countDistinct,
eq,
exists,
getTableColumns,
gt,
gte,
inArray,
like,
lt,
max,
min,
Name,
not,
notInArray,
sql,
sum,
sumDistinct,
TransactionRollbackError,
} from 'drizzle-orm';
import type { MySqlDatabase } from 'drizzle-orm/mysql-core';
import {
alias,
bigint,
binary,
boolean,
char,
date,
datetime,
decimal,
double,
except,
exceptAll,
float,
foreignKey,
getTableConfig,
getViewConfig,
index,
int,
intersect,
intersectAll,
json,
mediumint,
mysqlEnum,
mysqlSchema,
mysqlTable,
mysqlTableCreator,
mysqlView,
primaryKey,
real,
serial,
smallint,
// ... (5421 more lines)
Domain
Subdomains
Classes
Dependencies
- config
- dockerode
- drizzle-orm
- get-port
- migrator
- mysql-core
- mysql-proxy
- utils.ts
- uuid
- vitest
Imported By
- integration-tests/tests/mysql/mysql-custom.test.ts
- integration-tests/tests/mysql/mysql-planetscale.test.ts
- integration-tests/tests/mysql/mysql-prefixed.test.ts
- integration-tests/tests/mysql/mysql-proxy.test.ts
- integration-tests/tests/mysql/mysql.test.ts
- integration-tests/tests/mysql/tidb-serverless.test.ts
Source
Frequently Asked Questions
What does mysql-common.ts do?
mysql-common.ts is a source file in the drizzle-orm codebase, written in typescript. It belongs to the DrizzleORM domain, SQLDialects subdomain.
What functions are defined in mysql-common.ts?
mysql-common.ts defines 3 function(s): createDockerDB, tests, usersMigratorTable.
What does mysql-common.ts depend on?
mysql-common.ts imports 10 module(s): config, dockerode, drizzle-orm, get-port, migrator, mysql-core, mysql-proxy, utils.ts, and 2 more.
What files import mysql-common.ts?
mysql-common.ts is imported by 6 file(s): mysql-custom.test.ts, mysql-planetscale.test.ts, mysql-prefixed.test.ts, mysql-proxy.test.ts, mysql.test.ts, tidb-serverless.test.ts.
Where is mysql-common.ts in the architecture?
mysql-common.ts is located at integration-tests/tests/mysql/mysql-common.ts (domain: DrizzleORM, subdomain: SQLDialects, directory: integration-tests/tests/mysql).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free