Home / Class/ PgPointObjectBuilder Class — drizzle-orm Architecture

PgPointObjectBuilder Class — drizzle-orm Architecture

Architecture documentation for the PgPointObjectBuilder class in point.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  99961ca0_eea8_f3b5_2636_973c53c96f6e["PgPointObjectBuilder"]
  58c078fc_6d1a_a3c6_17ef_66abfc1c74f5["point.ts"]
  99961ca0_eea8_f3b5_2636_973c53c96f6e -->|defined in| 58c078fc_6d1a_a3c6_17ef_66abfc1c74f5
  a689de87_c40e_faba_6431_b1d551575447["constructor()"]
  99961ca0_eea8_f3b5_2636_973c53c96f6e -->|method| a689de87_c40e_faba_6431_b1d551575447
  756ae2c3_1a59_2888_268f_0ac89dd6f49f["build()"]
  99961ca0_eea8_f3b5_2636_973c53c96f6e -->|method| 756ae2c3_1a59_2888_268f_0ac89dd6f49f

Relationship Graph

Source Code

drizzle-orm/src/pg-core/columns/point.ts lines 67–85

export class PgPointObjectBuilder<T extends ColumnBuilderBaseConfig<'json', 'PgPointObject'>>
	extends PgColumnBuilder<T>
{
	static override readonly [entityKind]: string = 'PgPointObjectBuilder';

	constructor(name: string) {
		super(name, 'json', 'PgPointObject');
	}

	/** @internal */
	override build<TTableName extends string>(
		table: AnyPgTable<{ name: TTableName }>,
	): PgPointObject<MakeColumnConfig<T, TTableName>> {
		return new PgPointObject<MakeColumnConfig<T, TTableName>>(
			table,
			this.config as ColumnBuilderRuntimeConfig<any, any>,
		);
	}
}

Domain

Frequently Asked Questions

What is the PgPointObjectBuilder class?
PgPointObjectBuilder is a class in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/columns/point.ts.
Where is PgPointObjectBuilder defined?
PgPointObjectBuilder is defined in drizzle-orm/src/pg-core/columns/point.ts at line 67.

Analyze Your Own Codebase

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

Try Supermodel Free