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

indPolicyResolver() — drizzle-orm Function Reference

Architecture documentation for the indPolicyResolver() function in migrate.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  0be76621_eac6_138b_22d0_4d7d5741d5d3["indPolicyResolver()"]
  b14d3855_8cce_38c9_8952_a9d014c2fb1b["migrate.ts"]
  0be76621_eac6_138b_22d0_4d7d5741d5d3 -->|defined in| b14d3855_8cce_38c9_8952_a9d014c2fb1b
  c7a398db_43c9_7771_09b7_73bc09e703e8["applyPgSnapshotsDiff()"]
  c7a398db_43c9_7771_09b7_73bc09e703e8 -->|calls| 0be76621_eac6_138b_22d0_4d7d5741d5d3
  126ab305_3fa8_2818_7c79_ac4dbf1e27c1["promptNamedConflict()"]
  0be76621_eac6_138b_22d0_4d7d5741d5d3 -->|calls| 126ab305_3fa8_2818_7c79_ac4dbf1e27c1
  style 0be76621_eac6_138b_22d0_4d7d5741d5d3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-kit/src/cli/commands/migrate.ts lines 248–261

export const indPolicyResolver = async (
	input: PolicyResolverInput<Policy>,
): Promise<PolicyResolverOutput<Policy>> => {
	const result = await promptNamedConflict(
		input.created,
		input.deleted,
		'policy',
	);
	return {
		created: result.created,
		deleted: result.deleted,
		renamed: result.renamed,
	};
};

Domain

Subdomains

Frequently Asked Questions

What does indPolicyResolver() do?
indPolicyResolver() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/cli/commands/migrate.ts.
Where is indPolicyResolver() defined?
indPolicyResolver() is defined in drizzle-kit/src/cli/commands/migrate.ts at line 248.
What does indPolicyResolver() call?
indPolicyResolver() calls 1 function(s): promptNamedConflict.
What calls indPolicyResolver()?
indPolicyResolver() is called by 1 function(s): applyPgSnapshotsDiff.

Analyze Your Own Codebase

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

Try Supermodel Free