Home / Type/ LockConfig Type — drizzle-orm Architecture

LockConfig Type — drizzle-orm Architecture

Architecture documentation for the LockConfig type/interface in select.types.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  5ccef13d_4040_3849_a557_198d83b7b338["LockConfig"]
  65d45edf_0d8a_b7f0_1780_573c12d9a0e6["select.types.ts"]
  5ccef13d_4040_3849_a557_198d83b7b338 -->|defined in| 65d45edf_0d8a_b7f0_1780_573c12d9a0e6
  style 5ccef13d_4040_3849_a557_198d83b7b338 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-orm/src/pg-core/query-builders/select.types.ts lines 153–166

export type LockConfig =
	& {
		of?: ValueOrArray<PgTable>;
	}
	& ({
		noWait: true;
		skipLocked?: undefined;
	} | {
		noWait?: undefined;
		skipLocked: true;
	} | {
		noWait?: undefined;
		skipLocked?: undefined;
	});

Frequently Asked Questions

What is the LockConfig type?
LockConfig is a type/interface in the drizzle-orm codebase, defined in drizzle-orm/src/pg-core/query-builders/select.types.ts.
Where is LockConfig defined?
LockConfig is defined in drizzle-orm/src/pg-core/query-builders/select.types.ts at line 153.

Analyze Your Own Codebase

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

Try Supermodel Free