GelSquasher.squashPolicy() — drizzle-orm Function Reference
Architecture documentation for the GelSquasher.squashPolicy() function in gelSchema.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 08ec02b6_69db_996b_89b5_3750742c1698["GelSquasher.squashPolicy()"] 964b24c5_3481_bed3_69f7_b6e4cefe58bb["gelSchema.ts"] 08ec02b6_69db_996b_89b5_3750742c1698 -->|defined in| 964b24c5_3481_bed3_69f7_b6e4cefe58bb style 08ec02b6_69db_996b_89b5_3750742c1698 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-kit/src/serializer/gelSchema.ts lines 384–388
squashPolicy: (policy: Policy) => {
return `${policy.name}--${policy.as}--${policy.for}--${
policy.to?.join(',')
}--${policy.using}--${policy.withCheck}--${policy.on}`;
},
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does GelSquasher.squashPolicy() do?
GelSquasher.squashPolicy() is a function in the drizzle-orm codebase, defined in drizzle-kit/src/serializer/gelSchema.ts.
Where is GelSquasher.squashPolicy() defined?
GelSquasher.squashPolicy() is defined in drizzle-kit/src/serializer/gelSchema.ts at line 384.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free