stash-drizzle

Installation
SKILL.md

CipherStash Stack - Drizzle ORM Integration

Guide for integrating CipherStash field-level encryption with Drizzle ORM using @cipherstash/stack-drizzle (EQL v3). Provides Drizzle-native encrypted column factories and query operators that transparently encrypt search values — Drizzle never sees plaintext in a query.

In EQL v3 every encrypted column is a concrete Postgres domain (public.eql_v3_text_search, public.eql_v3_integer_ord, ...) whose query capabilities are fixed by the type you pick — there is no capability config object. See the stash-encryption skill's "Schema Definition" section (the types catalog) for the full catalog and capability suffixes (Eq, Ord/OrdOre, Match, Search, Json).

When to Use This Skill

  • Adding field-level encryption to a Drizzle ORM project
  • Defining encrypted columns in Drizzle table schemas with the v3 types.* factories
  • Querying encrypted data with type-safe, auto-encrypting operators
  • Sorting, filtering, and encrypted-JSONB querying on encrypted columns
  • Migrating an existing plaintext column to encrypted
  • Building Express/Hono/Next.js APIs with encrypted Drizzle queries

Installation

Installs
10
GitHub Stars
155
First Seen
Mar 5, 2026
stash-drizzle — cipherstash/stack