array.ts — drizzle-orm Source File
Architecture documentation for array.ts, a typescript file in the drizzle-orm codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR ea21f140_c91a_c97b_b790_750c709b8a34["array.ts"] 25b05299_f48f_bceb_01ca_1343d330a8f7["utils.ts"] ea21f140_c91a_c97b_b790_750c709b8a34 --> 25b05299_f48f_bceb_01ca_1343d330a8f7 05f0a280_d0c9_693a_a4bf_83cc671012d2["column.ts"] ea21f140_c91a_c97b_b790_750c709b8a34 --> 05f0a280_d0c9_693a_a4bf_83cc671012d2 076448f5_e30d_7700_bbe9_f5d1e76b579a["index.ts"] ea21f140_c91a_c97b_b790_750c709b8a34 --> 076448f5_e30d_7700_bbe9_f5d1e76b579a style ea21f140_c91a_c97b_b790_750c709b8a34 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { type Equal, Expect } from 'type-tests/utils.ts';
import type { Column } from '~/column.ts';
import { gelTable, integer } from '~/gel-core/index.ts';
{
const table = gelTable('table', {
a: integer('a').array().notNull(),
});
Expect<
Equal<
Column<
{
name: 'a';
tableName: 'table';
dataType: 'number';
columnType: 'GelInteger';
data: number;
driverParam: number;
notNull: false;
hasDefault: false;
enumValues: undefined;
baseColumn: never;
generated: undefined;
identity: undefined;
isPrimaryKey: false;
isAutoincrement: false;
hasRuntimeDefault: false;
},
{},
{}
>,
typeof table['a']['_']['baseColumn']
>
>;
}
Dependencies
- column.ts
- index.ts
- utils.ts
Source
Frequently Asked Questions
What does array.ts do?
array.ts is a source file in the drizzle-orm codebase, written in typescript.
What does array.ts depend on?
array.ts imports 3 module(s): column.ts, index.ts, utils.ts.
Where is array.ts in the architecture?
array.ts is located at drizzle-orm/type-tests/geldb/array.ts (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