db.ts — drizzle-orm Source File
Architecture documentation for db.ts, a typescript file in the drizzle-orm codebase. 2 imports, 9 dependents.
Entity Profile
Dependency Diagram
graph LR 9c290d96_894a_8e33_3455_d9f3a1fa1518["db.ts"] a340f455_7575_91f4_791a_10cd9b9dba1a["promise"] 9c290d96_894a_8e33_3455_d9f3a1fa1518 --> a340f455_7575_91f4_791a_10cd9b9dba1a f729130c_2b25_be41_15c6_7bdc4d3c9b6d["index.ts"] 9c290d96_894a_8e33_3455_d9f3a1fa1518 --> f729130c_2b25_be41_15c6_7bdc4d3c9b6d d67a670c_6b8c_31cd_efb7_f819b0c97367["count.ts"] d67a670c_6b8c_31cd_efb7_f819b0c97367 --> 9c290d96_894a_8e33_3455_d9f3a1fa1518 043a8c47_84a8_3ccf_0ea2_e24177d8b67a["delete.ts"] 043a8c47_84a8_3ccf_0ea2_e24177d8b67a --> 9c290d96_894a_8e33_3455_d9f3a1fa1518 f2d4047f_933a_1408_3dfc_f6ba5822fe89["insert.ts"] f2d4047f_933a_1408_3dfc_f6ba5822fe89 --> 9c290d96_894a_8e33_3455_d9f3a1fa1518 1b29b8f2_7157_9d62_ee9d_e1c3725e1a73["select.ts"] 1b29b8f2_7157_9d62_ee9d_e1c3725e1a73 --> 9c290d96_894a_8e33_3455_d9f3a1fa1518 29eb88b7_5703_fbfd_799a_db691267996d["set-operators.ts"] 29eb88b7_5703_fbfd_799a_db691267996d --> 9c290d96_894a_8e33_3455_d9f3a1fa1518 bb6aaa9f_879c_f783_a820_22e1698c7b4e["subquery.ts"] bb6aaa9f_879c_f783_a820_22e1698c7b4e --> 9c290d96_894a_8e33_3455_d9f3a1fa1518 42a3f195_439f_04bb_e0a7_1cdfc016e10c["tables.ts"] 42a3f195_439f_04bb_e0a7_1cdfc016e10c --> 9c290d96_894a_8e33_3455_d9f3a1fa1518 76d584e5_2f41_6cf2_3735_7f9bdfc4a399["update.ts"] 76d584e5_2f41_6cf2_3735_7f9bdfc4a399 --> 9c290d96_894a_8e33_3455_d9f3a1fa1518 6f234cee_b294_8c79_89a4_fce75dd869b5["with.ts"] 6f234cee_b294_8c79_89a4_fce75dd869b5 --> 9c290d96_894a_8e33_3455_d9f3a1fa1518 style 9c290d96_894a_8e33_3455_d9f3a1fa1518 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { createPool } from 'mysql2/promise';
import { drizzle } from '~/singlestore/index.ts';
const pool = createPool({});
export const db = drizzle(pool);
{
drizzle(pool);
drizzle(pool, { schema: {} });
drizzle(pool, { schema: {} });
drizzle(pool, {});
}
Domain
Dependencies
- index.ts
- promise
Imported By
- drizzle-orm/type-tests/singlestore/count.ts
- drizzle-orm/type-tests/singlestore/delete.ts
- drizzle-orm/type-tests/singlestore/insert.ts
- drizzle-orm/type-tests/singlestore/select.ts
- drizzle-orm/type-tests/singlestore/set-operators.ts
- drizzle-orm/type-tests/singlestore/subquery.ts
- drizzle-orm/type-tests/singlestore/tables.ts
- drizzle-orm/type-tests/singlestore/update.ts
- drizzle-orm/type-tests/singlestore/with.ts
Source
Frequently Asked Questions
What does db.ts do?
db.ts is a source file in the drizzle-orm codebase, written in typescript. It belongs to the DrizzleORM domain.
What does db.ts depend on?
db.ts imports 2 module(s): index.ts, promise.
What files import db.ts?
db.ts is imported by 9 file(s): count.ts, delete.ts, insert.ts, select.ts, set-operators.ts, subquery.ts, tables.ts, update.ts, and 1 more.
Where is db.ts in the architecture?
db.ts is located at drizzle-orm/type-tests/singlestore/db.ts (domain: DrizzleORM, directory: drizzle-orm/type-tests/singlestore).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free