Home / Function/ constructor() — drizzle-orm Function Reference

constructor() — drizzle-orm Function Reference

Architecture documentation for the constructor() function in session.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  4c48a572_178e_b1d2_a141_041f29df70a5["constructor()"]
  c5129061_5764_d876_3e0b_d0817994976c["XataHttpSession"]
  4c48a572_178e_b1d2_a141_041f29df70a5 -->|defined in| c5129061_5764_d876_3e0b_d0817994976c
  72a6b420_712e_84ae_f7db_b52ce88ddbbb["constructor()"]
  72a6b420_712e_84ae_f7db_b52ce88ddbbb -->|calls| 4c48a572_178e_b1d2_a141_041f29df70a5
  b76e7b28_9a47_da8f_b9a5_f8bced457ed6["constructor()"]
  b76e7b28_9a47_da8f_b9a5_f8bced457ed6 -->|calls| 4c48a572_178e_b1d2_a141_041f29df70a5
  72a6b420_712e_84ae_f7db_b52ce88ddbbb["constructor()"]
  4c48a572_178e_b1d2_a141_041f29df70a5 -->|calls| 72a6b420_712e_84ae_f7db_b52ce88ddbbb
  style 4c48a572_178e_b1d2_a141_041f29df70a5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/xata-http/session.ts lines 110–119

	constructor(
		private client: XataHttpClient,
		dialect: PgDialect,
		private schema: RelationalSchemaConfig<TSchema> | undefined,
		private options: XataHttpSessionOptions = {},
	) {
		super(dialect);
		this.logger = options.logger ?? new NoopLogger();
		this.cache = options.cache ?? new NoopCache();
	}

Domain

Subdomains

Frequently Asked Questions

What does constructor() do?
constructor() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/xata-http/session.ts.
Where is constructor() defined?
constructor() is defined in drizzle-orm/src/xata-http/session.ts at line 110.
What does constructor() call?
constructor() calls 1 function(s): constructor.
What calls constructor()?
constructor() is called by 2 function(s): constructor, constructor.

Analyze Your Own Codebase

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

Try Supermodel Free