Overview of Better-Convex ORM Documentation Structure
mainThe Better-Convex ORM documentation is designed to help developers (especially those migrating from Drizzle or Prisma) understand how to use the ORM within the Convex ecosystem. The documentation follows a progressive disclosure model using a three-column layout: Quick Start | Core Docs | Advanced/Reference.
Key documentation areas include:
- Schema: Defining
convexTable(), relations (one(),many()), indexes, and type inference/validators. - Queries: Using
findMany(),findFirst(), column selection, filtering, ordering, pagination (limit/offset + cursor), and joins via thewithoption. - Mutations: Performing
insert().values(),update().set().where(), anddelete().where()operations. - Advanced Topics: Type-safety patterns, dynamic query building, and Convex reactivity (real-time features).
- Migration Guides: Specific paths for migrating from Drizzle, Prisma, or Ents to Better-Convex.
- Reference: Complete API surface, filter operators, and feature limitations.