Home / Type/ ExpectedType Type — drizzle-orm Architecture

ExpectedType Type — drizzle-orm Architecture

Architecture documentation for the ExpectedType type/interface in bun-sql.test.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  46a071bd_5609_6cb3_c113_cba412e4068d["ExpectedType"]
  1a87ee22_528f_d38c_4caa_a5c7403c2a61["bun-sql.test.ts"]
  46a071bd_5609_6cb3_c113_cba412e4068d -->|defined in| 1a87ee22_528f_d38c_4caa_a5c7403c2a61
  style 46a071bd_5609_6cb3_c113_cba412e4068d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

integration-tests/tests/bun/bun-sql.test.ts lines 5505–5587

	type ExpectedType = {
		serial: number;
		bigserial53: number;
		bigserial64: bigint;
		int: number | null;
		bigint53: number | null;
		bigint64: bigint | null;
		bool: boolean | null;
		char: string | null;
		cidr: string | null;
		date: Date | null;
		dateStr: string | null;
		double: number | null;
		enum: 'enVal1' | 'enVal2' | null;
		inet: string | null;
		interval: string | null;
		json: unknown;
		jsonb: unknown;
		line: {
			a: number;
			b: number;
			c: number;
		} | null;
		lineTuple: [number, number, number] | null;
		macaddr: string | null;
		macaddr8: string | null;
		numeric: string | null;
		numericNum: number | null;
		numericBig: bigint | null;
		point: {
			x: number;
			y: number;
		} | null;
		pointTuple: [number, number] | null;
		real: number | null;
		smallint: number | null;
		smallserial: number;
		text: string | null;
		time: string | null;
		timestamp: Date | null;
		timestampTz: Date | null;
		timestampStr: string | null;
		timestampTzStr: string | null;
		uuid: string | null;
		varchar: string | null;
		arrint: number[] | null;
		arrbigint53: number[] | null;
		arrbigint64: bigint[] | null;
		arrbool: boolean[] | null;
		arrchar: string[] | null;
		arrcidr: string[] | null;
		arrdate: Date[] | null;
		arrdateStr: string[] | null;
		arrdouble: number[] | null;
		arrenum: ('enVal1' | 'enVal2')[] | null;
		arrinet: string[] | null;
		arrinterval: string[] | null;
		arrjson: unknown[] | null;
		arrjsonb: unknown[] | null;
		arrline: {
			a: number;
			b: number;
			c: number;
		}[] | null;
		arrlineTuple: [number, number, number][] | null;
		arrmacaddr: string[] | null;
		arrmacaddr8: string[] | null;
		arrnumeric: string[] | null;
		arrnumericNum: number[] | null;
		arrnumericBig: bigint[] | null;
		arrpoint: { x: number; y: number }[] | null;
		arrpointTuple: [number, number][] | null;
		arrreal: number[] | null;
		arrsmallint: number[] | null;
		arrtext: string[] | null;
		arrtime: string[] | null;
		arrtimestamp: Date[] | null;
		arrtimestampTz: Date[] | null;
		arrtimestampStr: string[] | null;
		arrtimestampTzStr: string[] | null;
		arruuid: string[] | null;

Frequently Asked Questions

What is the ExpectedType type?
ExpectedType is a type/interface in the drizzle-orm codebase, defined in integration-tests/tests/bun/bun-sql.test.ts.
Where is ExpectedType defined?
ExpectedType is defined in integration-tests/tests/bun/bun-sql.test.ts at line 5505.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free