Skip to content

Commit 98ab733

Browse files
committed
Diesel
1 parent 60fd906 commit 98ab733

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diesel.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ SeaSchema is our schema discovery library, but it is not sealed inside SeaORM. S
2020

2121
In addition to the sync vs async foundation, the biggest distinction between Diesel and SeaORM is static vs dynamic. Diesel has an everything-compile-time design which has its pros and cons. SeaORM is dynamic, in which things are established runtime. It offers more flexibility. While you loses some compile-time guarantee, SeaORM helps you to prove correctness by unit testing instead.
2222

23-
Both libraries make heavy use of traits and generics, but SeaORM generate less types from your schema. That probably means looser type/lifetime constraints and faster compilation.
23+
Both libraries make heavy use of traits and generics, but SeaORM generate less types. (Each column in Diesel is a struct, while each column in SeaORM is a enum variant). That probably means looser type/lifetime constraints and faster compilation.
2424

2525
You don't have to use macros when using SeaORM. We provide some derive macros for convenience, but they are entirely optional.
2626

0 commit comments

Comments
 (0)