Billy Chan
b21abf617f
Fix clippy warnings ( #1437 )
2023-01-31 16:46:44 +08:00
Chris Tsang
1a37212940
Comment
2022-05-11 21:53:02 +08:00
Chris Tsang
d5c9c65079
Revert save
to return Self
2021-12-26 00:13:56 +08:00
Billy Chan
17631512bb
feat(Model): add wrapper method delete
2021-12-21 18:24:05 +08:00
Billy Chan
adfb9ead54
Rework ActiveValue
( #340 )
...
* WIP
* Fixup
* Fixup
* Update docs & rename `unset`
* Deprecate `Unset()` and reexport `ActiveValue::NotSet`
* Docs
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2021-12-19 02:22:30 +08:00
Billy Chan
5104cd3573
Insert & Update Return Model
( #339 )
...
* Update insert & update API
* Update test cases
* Update README
* Fix clippy warnings
* Fixup
* Fixup
2021-12-18 14:30:10 +08:00
Billy Chan
ac804a1642
Imports PaginatorTrait
by default making it backward compatible
2021-11-10 15:26:29 +08:00
Billy Chan
1905f62430
cargo fmt
2021-11-10 14:58:06 +08:00
jasper
05181994d3
Move count to PaginatorTrait
2021-11-10 08:57:05 +08:00
jasper
4b11a10680
Update examples and test
2021-11-09 22:29:48 +08:00
Marco Napetti
02ebc9745c
Transaction 3
2021-10-04 11:39:16 +08:00
Chris Tsang
3001fca466
Refactor basic test
2021-09-18 16:37:07 +08:00
Chris Tsang
9885029585
Use DeriveEntityModel in test suite
2021-09-09 17:22:54 +08:00
Billy Chan
ca56f27909
cargo clippy
2021-09-03 16:20:57 +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
Chris Tsang
7352bb96e4
Basic tests for SQLite
2021-08-08 16:12:36 +08:00
Sam Samai
e01585c9e7
Add runtime configs to tests and clean up
2021-08-06 22:27:03 +10:00
Sam Samai
e7d2899019
Refactor basic test
2021-08-06 22:08:59 +10:00
Billy Chan
c9d1285b57
Hotfix
2021-07-26 13:02:02 +08:00
Billy Chan
1cdbcceddb
Testing different db on various async runtime ( #53 )
...
* Testing different db on various async runtime
* Test on various runtime
* No explicit cargo build step
* Cargo build with features
* Hotfix
* With actix_rt
* Only tests "runtime-async-std-native-tls" for now
2021-07-22 19:23:21 +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
Chris Tsang
bcd221a915
Add Syntax to Statement
2021-07-13 22:39:29 +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
ad3fb45253
cargo fmt
2021-06-22 01:30:26 +08:00
Chris Tsang
7158e78f65
Basic test suite (sqlite)
2021-06-20 23:05:05 +08:00