ORM Quick Start

Note

Status: This page is under development.

Build your first application using zlmdb’s ORM API.

Overview

This guide shows how to:

  • Define a schema

  • Create tables with automatic serialization

  • Store and retrieve objects

  • Use indexes for efficient lookups

Coming Soon

This page will include:

  1. First ORM Application - Define a simple schema - Create a database - Store objects - Query objects

  2. Working with Tables - Built-in table types - Choosing serialization formats - Type hints and type safety

  3. Basic Queries - Primary key lookups - Index-based lookups - Iteration

  4. Complete Example - User management system - CRUD operations - Index usage

Based on Real Examples

This guide will draw from real-world patterns in:

  • crossbar-examples: Benchmark data storage

  • Crossbar.io: Cookie authentication storage

  • pydefi: Market data persistence

See Also