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

SQLiteSquasher.squashIdx() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

drizzle-kit/src/serializer/sqliteSchema.ts lines 174–177

	squashIdx: (idx: Index) => {
		index.parse(idx);
		return `${idx.name};${idx.columns.join(',')};${idx.isUnique};${idx.where ?? ''}`;
	},

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free