Skip to main content
Version: 2.0.x

Index

Introduction

  1. Introduction

    1.1. What is an ORM

    1.2. Async Programming in Rust

    1.3. SeaORM Concepts

    1.4. Tutorial & Examples

Basics

  1. Installation & Configuration

    2.1 Choosing a Database & Async Runtime

    2.2 Connection Pool

    2.3 Debug Log

  2. Migration

    3.1 Setting Up Migration

    3.2 Writing Migration

    3.3 Running Migration

    3.4 Seeding Data

  3. Generating Entities

    4.1 Using sea-orm-cli

    4.2 Entity Structure

    4.3 Column Types

    4.4 Enumeration

    4.5 New Type

  4. Basic CRUD

    5.1 Basic Schema

    5.2 SELECT: find, filter, sort, paging

    5.3 ActiveModel & ActiveValue

    5.4 INSERT: insert one & insert many

    5.5 UPDATE: find & save, update many

    5.6 SAVE: insert or update

    5.7 DELETE: delete one & delete many

    5.8 JSON

    5.9 Raw SQL query

Advanced Topics

  1. Relations

    6.1 One to One

    6.2 One to Many

    6.3 Many to Many

    6.4 Complex Relations

    6.5 Model Loader

    6.6 Entity Loader

    6.7 Bakery Schema

    6.8 Nested Selects

    6.9 Multi Selects

    6.10 Relational Query

  2. Writing Tests

    7.1 Robust & Correct

    7.2 Mock Interface

    7.3 Using SQLite

  3. Advanced Queries

    8.1 Custom select

    8.2 Conditional expressions

    8.3 Aggregate functions

    8.4 Advanced Joins

    8.5 Sub Query

    8.6 Transaction

    8.7 Streaming

    8.8 Custom Active Model

    8.9 Error Handling

    8.10 Custom Join Condition

  4. Schema Statement

    9.1 Create Table

    9.2 Create Enum

    9.3 Create Index

  5. GraphQL Support

    10.1 🧭 Seaography

    10.2 Getting Started

  6. Admin Panel

    11.1 🖥️ SeaORM Pro

    11.2 Getting Started

  7. Internal Design

    12.1 Traits and Types

    12.2 Derive Macros

    12.3 Compare with Diesel

    12.4 Architecture

    12.5 Architecture

  8. What's Next

    13.1 What's Next