Index
Introduction
Introduction
1.1. What is an ORM
1.2. Async Programming in Rust
1.3. SeaORM Concepts
1.4. Tutorial & Examples
Basics
Installation & Configuration
2.1 Choosing a Database & Async Runtime
2.2 Connection Pool
2.3 Debug Log
Migration
3.4 Seeding Data
Generating Entities
4.2 Entity Structure
4.4 Enumeration
4.5 Newtype
Basic CRUD
5.1 Basic Schema
5.2 SELECT: find, filter, sort, paging
5.3 INSERT: Model & ActiveModel, insert many
5.4 UPDATE: find & save, update many
5.6 DELETE: delete one & delete many
5.7 JSON
5.8 Raw SQL query
Advanced Topics
Relations
6.1 One to One
6.2 One to Many
6.3 Many to Many
6.5 Self Referencing
6.7 Data Loader
6.8 Bakery Schema
Writing Tests
7.1 Robust & Correct
7.2 Mock Interface
7.3 Using SQLite
Advanced Queries
8.1 Custom select
8.4 Custom Joins
8.5 Sub Query
8.6 Transaction
8.7 Streaming
8.9 Error Handling
Schema Statement
9.1 Create Table
9.2 Create Enum
9.3 Create Index
Internal Design
10.1 Traits and Types
10.2 Derive Macros
10.3 Compare with Diesel
10.4 Architecture