Billy Chan
bb225b12ee
Rocket example page number starts from one
2021-09-20 18:30:31 +08:00
Billy Chan
09c328bb0d
Use smol async-runtime and require one of the supported runtime for integration tests
2021-08-21 22:56:48 +08:00
Billy Chan
2cfaa34a33
Test against all supported runtime
2021-08-21 22:56:48 +08:00
Billy Chan
22649f36a2
cargo fmt
2021-08-06 10:51:34 +08:00
Billy Chan
9c865cbb31
Try to fix count()
2021-08-06 10:48:37 +08:00
Chris Tsang
303a0f32d6
cargo fmt
2021-07-19 11:15:31 +08:00
Chris Tsang
2dc8401c53
Paginator docs
2021-07-17 23:15:08 +08:00
Chris Tsang
9334d4ff5d
DbBackend alias
2021-07-17 22:03:41 +08:00
Chris Tsang
56763a8718
count() on Select
2021-07-17 21:18:20 +08:00
Billy Chan
e83cc63e3a
Replacing Syntax
& *BuilderBackend
with DatabaseBackend
2021-07-16 00:28:03 +08:00
Billy Chan
d59ee1e298
Mock any database
2021-07-14 21:31:59 +08:00
Chris Tsang
0298cfb6af
Rename to DbErr
2021-06-30 21:17:23 +08:00
Billy Chan
2a1173c174
Add & use OrmError ( #36 )
...
* Add & use OrmError
* Rename to SeaErr
2021-06-30 21:08:41 +08:00
Chris Tsang
688891f706
Use MockDatabase in doc test
2021-06-27 16:15:56 +08:00
Chris Tsang
5002c62b40
Use DatabaseConnection in place of Database
2021-06-19 17:28:07 +08:00
Chris Tsang
041d28aa26
Refactor
2021-06-19 16:56:53 +08:00
Chris Tsang
f9ba6eeb1f
Transaction
2021-06-19 16:42:11 +08:00
Chris Tsang
ddcdd33bd5
Fix clippy warnings
2021-06-19 02:49:56 +08:00
Chris Tsang
f4611c4939
Refactor
2021-06-19 02:24:45 +08:00
Billy Chan
62fb43c605
Add unit test for pagination ( #20 )
...
* Add unit test for pagination
* End with empty page
* Add more test cases
* Assert transaction log
* Test utils
* Feature gated
* IntoMockRow, derive macro with into MockRow
* Revert derive macro
* WIP
* WIP
* assert_transaction_log
2021-06-18 23:43:07 +08:00
Chris Tsang
6b7ea75393
Mock Database Connection
2021-06-13 22:20:50 +08:00
Chris Tsang
c7057ab964
Organize code
2021-06-12 17:12:18 +08:00