Home / Function/ MySqlSquasher.unsquashView() — drizzle-orm Function Reference

MySqlSquasher.unsquashView() — drizzle-orm Function Reference

Architecture documentation for the MySqlSquasher.unsquashView() function in mysqlSchema.ts from the drizzle-orm codebase.

Entity Profile

Dependency Diagram

graph TD
  5f71405b_9384_85f2_588d_239c48044567["MySqlSquasher.unsquashView()"]
  f2ee16c1_40e6_43f3_15b2_c391a3ac170b["mysqlSchema.ts"]
  5f71405b_9384_85f2_588d_239c48044567 -->|defined in| f2ee16c1_40e6_43f3_15b2_c391a3ac170b
  style 5f71405b_9384_85f2_588d_239c48044567 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

drizzle-kit/src/serializer/mysqlSchema.ts lines 293–302

	unsquashView: (meta: string): SquasherViewMeta => {
		const [algorithm, sqlSecurity, withCheckOption] = meta.split(';');
		const toReturn = {
			algorithm: algorithm,
			sqlSecurity: sqlSecurity,
			withCheckOption: withCheckOption !== 'undefined' ? withCheckOption : undefined,
		};

		return viewMeta.parse(toReturn);
	},

Domain

Subdomains

Frequently Asked Questions

What does MySqlSquasher.unsquashView() do?
MySqlSquasher.unsquashView() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/serializer/mysqlSchema.ts.
Where is MySqlSquasher.unsquashView() defined?
MySqlSquasher.unsquashView() is defined in drizzle-kit/src/serializer/mysqlSchema.ts at line 293.

Analyze Your Own Codebase

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

Try Supermodel Free