gelPolicy() — drizzle-orm Function Reference
Architecture documentation for the gelPolicy() function in policies.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD f80b4e83_f7f1_ac09_9426_285a9611efd6["gelPolicy()"] f22cd1d5_0398_4aa5_b28c_00dd4b147ee9["policies.ts"] f80b4e83_f7f1_ac09_9426_285a9611efd6 -->|defined in| f22cd1d5_0398_4aa5_b28c_00dd4b147ee9 style f80b4e83_f7f1_ac09_9426_285a9611efd6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/src/gel-core/policies.ts lines 54–56
export function gelPolicy(name: string, config?: GelPolicyConfig) {
return new GelPolicy(name, config);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does gelPolicy() do?
gelPolicy() is a function in the drizzle-orm codebase, defined in drizzle-orm/src/gel-core/policies.ts.
Where is gelPolicy() defined?
gelPolicy() is defined in drizzle-orm/src/gel-core/policies.ts at line 54.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free