Home / Function/ SQLiteSquasher.unsquashIdx() — drizzle-orm Function Reference

SQLiteSquasher.unsquashIdx() — drizzle-orm Function Reference

Architecture documentation for the SQLiteSquasher.unsquashIdx() function in sqliteSchema.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  69c8adbf_7275_52eb_f238_100cadd55a00["SQLiteSquasher.unsquashIdx()"]
  03c276d3_0efe_66e2_9ba9_e67edbf29418["sqliteSchema.ts"]
  69c8adbf_7275_52eb_f238_100cadd55a00 -->|defined in| 03c276d3_0efe_66e2_9ba9_e67edbf29418
  style 69c8adbf_7275_52eb_f238_100cadd55a00 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-kit/src/serializer/sqliteSchema.ts lines 178–188

	unsquashIdx: (input: string): Index => {
		const [name, columnsString, isUnique, where] = input.split(';');

		const result: Index = index.parse({
			name,
			columns: columnsString.split(','),
			isUnique: isUnique === 'true',
			where: where ?? undefined,
		});
		return result;
	},

Domain

Subdomains

Frequently Asked Questions

What does SQLiteSquasher.unsquashIdx() do?
SQLiteSquasher.unsquashIdx() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/serializer/sqliteSchema.ts.
Where is SQLiteSquasher.unsquashIdx() defined?
SQLiteSquasher.unsquashIdx() is defined in drizzle-kit/src/serializer/sqliteSchema.ts at line 178.

Analyze Your Own Codebase

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

Try Supermodel Free