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.3 Connection Pool
2.4 Debug Log
-
Generating Entities
3.2 Entity Structure
3.4 Enumeration
-
Generating Database Schema
4.1 Create Table
4.2 Create Enum
4.3 Create Index
-
Basic CRUD
5.1 SELECT: find, filter, sort, paging
5.2 INSERT: Model & ActiveModel, insert many
5.3 UPDATE: find & save, update many
5.5 DELETE: delete one & delete many
5.6 JSON
5.7 Raw SQL query
Advanced Topics
-
Migration
6.4 Seeding Data
-
Relations
7.1 One to One
7.2 One to Many
7.3 Many to Many
7.5 Self Referencing
7.6 Bakery Schema
-
Writing Tests
8.1 Robust & Correct
8.2 Mock Interface
8.3 Using SQLite
-
Advanced Queries
9.1 Custom select
9.4 Custom Joins
9.5 Sub Query
9.6 Transaction
9.7 Streaming
-
Internal Design
10.1 Traits and Types
10.2 Derive Macros
10.3 Compare with Diesel