ormDB

Guides

Technical guides for getting the most out of ormDB. From solving N+1 queries to configuring row-level security.

intermediate 15 minutes

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.

intermediate 15 minutes

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.

intermediate 15 minutes

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.

advanced 20 minutes

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.

intermediate 15 minutes

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.

intermediate 12 minutes

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.

beginner 10 minutes

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.

beginner 10 minutes

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 database.

advanced 20 minutes

Performance Optimization in ormDB

Master ormDB's query budgets, fanout limits, field selection, and tuning parameters to build high-performance applications on ormDB.

intermediate 12 minutes

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.