Column Type — astro Architecture
Architecture documentation for the Column type/interface in types.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 836213c8_33c4_0be0_293d_06896887ff6b["Column"] 2eb38d79_bfe3_6938_fad4_521296dd8431["types.ts"] 836213c8_33c4_0be0_293d_06896887ff6b -->|defined in| 2eb38d79_bfe3_6938_fad4_521296dd8431 style 836213c8_33c4_0be0_293d_06896887ff6b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/db/src/runtime/types.ts lines 83–97
type Column<
T extends DBColumn['type'],
E extends readonly [string, ...string[]] | string,
S extends GeneratedConfig,
> = T extends 'boolean'
? AstroBoolean<S>
: T extends 'number'
? AstroNumber<S>
: T extends 'text'
? AstroText<S, E>
: T extends 'date'
? AstroDate<S>
: T extends 'json'
? AstroJson<S>
: never;
Defined In
Source
Frequently Asked Questions
What is the Column type?
Column is a type/interface in the astro codebase, defined in packages/db/src/runtime/types.ts.
Where is Column defined?
Column is defined in packages/db/src/runtime/types.ts at line 83.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free