Tutorial & Examples
If you prefer step-by-step tutorials on how to use SeaORM, you can checkout our SeaORM Tutorials.
It's a good idea to have a grasp of the basic concepts first, so let's continue.
If you are so eager and want something grab-and-go, SeaQL maintains a set of official examples contributed by the community (we welcome more!):
- Actix v4 Example
- Actix v3 Example
- Axum Example
- GraphQL Example
- jsonrpsee Example
- Poem Example
- Rocket Example
- Salvo Example
- Tonic Example
If you are building a web API that perform selecting nested relation extensively. Consider serving a GraphQL server instead. seaography is a GraphQL framework for building GraphQL resolvers using SeaORM entities. With GraphQL resolver in place select above nested relation is straightforward and easy. Check "Getting Started with Seaography" to learn more.
You can also check SeaORM Cookbook for frequently asked questions and the best practice of SeaORM.