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

SingleStoreSquasher.squashIdx() — drizzle-orm Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e776a792_2393_cdb5_a754_085922f22a29["SingleStoreSquasher.squashIdx()"]
  d63c81a6_6779_4926_bffe_7351e12a4301["singlestoreSchema.ts"]
  e776a792_2393_cdb5_a754_085922f22a29 -->|defined in| d63c81a6_6779_4926_bffe_7351e12a4301
  style e776a792_2393_cdb5_a754_085922f22a29 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-kit/src/serializer/singlestoreSchema.ts lines 138–143

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free