other.ts — drizzle-orm Source File
Architecture documentation for other.ts, a typescript file in the drizzle-orm codebase. 6 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 0505a95a_e118_0be5_0841_09d89e1e3487["other.ts"] 02ee7a70_490f_3b80_fa60_d59aaa62cd1d["db.ts"] 0505a95a_e118_0be5_0841_09d89e1e3487 --> 02ee7a70_490f_3b80_fa60_d59aaa62cd1d caa15051_4c2c_cd8b_fcc3_001b783b7336["tables.ts"] 0505a95a_e118_0be5_0841_09d89e1e3487 --> caa15051_4c2c_cd8b_fcc3_001b783b7336 af8d5a1e_788a_d02e_b32c_8fb7cd129ff9["users"] 0505a95a_e118_0be5_0841_09d89e1e3487 --> af8d5a1e_788a_d02e_b32c_8fb7cd129ff9 25b05299_f48f_bceb_01ca_1343d330a8f7["utils.ts"] 0505a95a_e118_0be5_0841_09d89e1e3487 --> 25b05299_f48f_bceb_01ca_1343d330a8f7 5c46beaf_8b59_d2e3_def3_8af6daf1fccd["index.ts"] 0505a95a_e118_0be5_0841_09d89e1e3487 --> 5c46beaf_8b59_d2e3_def3_8af6daf1fccd be483a7f_d5d7_7a9b_9a13_44a4a6aafbbd["sql.ts"] 0505a95a_e118_0be5_0841_09d89e1e3487 --> be483a7f_d5d7_7a9b_9a13_44a4a6aafbbd style 0505a95a_e118_0be5_0841_09d89e1e3487 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import type { Equal } from 'type-tests/utils.ts';
import { Expect } from 'type-tests/utils.ts';
import { eq, inArray } from '~/sql/expressions/index.ts';
import { sql } from '~/sql/sql.ts';
import { db } from './db.ts';
import { users } from './tables.ts';
const rawQuery = await db.execute(
sql`select ${users.id}, ${users.class} from ${users} where ${inArray(users.id, [1, 2, 3])} and ${
eq(users.class, 'A')
}`,
);
Expect<Equal<Record<string, unknown>[], typeof rawQuery>>;
Domain
Source
Frequently Asked Questions
What does other.ts do?
other.ts is a source file in the drizzle-orm codebase, written in typescript. It belongs to the DrizzleORM domain.
What does other.ts depend on?
other.ts imports 6 module(s): db.ts, index.ts, sql.ts, tables.ts, users, utils.ts.
Where is other.ts in the architecture?
other.ts is located at drizzle-orm/type-tests/geldb/other.ts (domain: DrizzleORM, directory: drizzle-orm/type-tests/geldb).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free