Guides
Technical guides for getting the most out of ormDB. From solving N+1 queries to configuring row-level security.
Schema Design Patterns for ormDB
Learn how to model entities, relations, and data structures in ormDB's native schema language. Patterns for common application architectures.
Safe Database Migrations with ormDB's A-D Grading System
Learn how ormDB grades every migration from A (safe) to D (destructive), preventing accidental data loss and downtime in production deployments.
Graph Queries Explained: How ormDB Fetches Object Graphs
Understand ormDB's graph-fetch query model, entity blocks, edge traversals, and how they replace SQL JOINs for relational data retrieval.
Row-Level Security in ormDB
Implement policy-based access control at the database level with ormDB's row-level security. Define who can read, write, and delete specific rows.
Real-Time Data with ormDB Change Streams
Learn how to use ormDB's built-in change data capture (CDC) to stream database changes in real time with version tokens and entity-level subscriptions.
Vector Search and AI Embeddings in ormDB
Use ormDB's built-in HNSW vector index for k-nearest neighbor search on AI embeddings. No extensions, no external services -- vector search is native.
Geographic Search in ormDB
Use ormDB's built-in R-tree geo index for spatial queries. Find nearby records, search within polygons, and combine geo filters with graph fetches.
Solving N+1 Queries Forever with ormDB
Learn how ormDB eliminates N+1 queries by design. No eager loading hacks, no query batching -- the database itself understands object graphs.
Full-Text Search in ormDB
Use ormDB's built-in BM25 full-text search for ranked keyword queries. No external search engine required -- search is native to the engine.
Performance Optimization in ormDB
Master ormDB's query budgets, fanout limits, field selection, and tuning parameters to build high-performance applications on ormDB.