54 Commits

Author SHA1 Message Date
Chris Tsang
47cbf50c3c
Merge branch 'master' into pulls/361 2021-12-25 17:41:29 +08:00
Billy Chan
006d35313b
Fix clippy warnings 2021-12-17 11:39:53 +08:00
Billy Chan
af1ffdad83
Rename sea-strum lib back to strum 2021-12-07 17:21:03 +08:00
Billy Chan
7298fdeda9
Rewrite doctests 2021-11-16 17:35:49 +08:00
Billy Chan
4c147a2d24
Rewrite doctests 2021-11-16 16:27:54 +08:00
Chris Tsang
d66538d7bc Edit docs 2021-11-14 20:54:15 +08:00
Chris Tsang
aaf6c2555d Refactor and add stream() to SelectorRaw 2021-11-14 20:49:04 +08:00
Chris Tsang
5f2fa55253 Edit docs 2021-11-14 16:58:52 +08:00
Billy Chan
1905f62430
cargo fmt 2021-11-10 14:58:06 +08:00
jasper
23498892b0 Add PaginatorTrait and CountTrait 2021-11-09 21:33:55 +08:00
Chris Tsang
03d90d8630 Docs 2021-11-09 16:21:12 +08:00
Charles Chege
817e9bdd23 Documetation for the executor module 2021-10-29 10:38:55 +03:00
Chris Tsang
c0761a949b cargo fmt 2021-10-19 18:50:45 +08:00
Chris Tsang
55dbdb7626 #249 Build with mock only 2021-10-15 23:04:14 +08:00
Chris Tsang
018f7dd19f Streaming for MockConnection 2021-10-09 21:14:24 +08:00
Chris Tsang
a2ec6cd351 Rename MockTransaction -> Transaction 2021-10-07 18:00:11 +08:00
Chris Tsang
51b30ee837
Merge branch 'master' into transaction-3 2021-10-07 17:21:59 +08:00
Chris Tsang
df4df87d09 Rename Transaction -> MockTransaction 2021-10-04 21:37:12 +08:00
Chris Tsang
4fd5d56dbf cargo +nightly fmt 2021-10-04 13:13:36 +08:00
Chris Tsang
e7b822c65d cargo fmt 2021-10-04 11:44:02 +08:00
Chris Tsang
01a5c1c6dd Fix build errors 2021-10-04 11:43:21 +08:00
Marco Napetti
02ebc9745c Transaction 3 2021-10-04 11:39:16 +08:00
Chris Tsang
a0be9239bd Doc 2021-10-01 23:41:12 +08:00
Chris Tsang
0c05b4c34e Improve example for Select::into_values 2021-10-01 13:24:11 +08:00
Chris Tsang
ca296bc941 Feature guard macros 2021-09-30 22:25:31 +08:00
Chris Tsang
fcd969e57c Use DeriveIden to replace ToString 2021-09-30 22:05:23 +08:00
Muhannad Alrusayni
5379a23630 Add find_by_statement for T: TryGetableMany
Add `into_values` for `Select<T>`
2021-09-28 00:10:13 +03:00
Muhannad Alrusayni
e71a74b0c1 Improve working with raw SQL
- Add `find_by_statement` to `T: FromQueryResult`
- Add `SelectorRaw::from_statement` constructor
2021-09-16 18:06:02 +03:00
Muhannad Alrusayni
9107c9010a add into_model() for Statement 2021-09-16 11:47:31 +03:00
Billy Chan
5060890888
cargo +nightly fmt 2021-09-03 14:56:58 +08:00
Billy Chan
7f38621c3c
Set clippy deny 2021-09-03 14:26:57 +08:00
Billy Chan
541b94f15d
Update query helper column_as 2021-09-03 11:23:29 +08:00
Billy Chan
0db9021da0
Update tests 2021-09-02 16:30: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
Billy Chan
1442fcf10f Assert against structs 2021-08-17 12:49:45 +08:00
Billy Chan
7bb5ff7797 Add into_model & into_json methods for SelectorRaw 2021-08-17 12:49:45 +08:00
Chris Tsang
1dceb07c70 pub use Value and Values 2021-07-19 11:15:31 +08:00
Chris Tsang
25432e68d0 from_raw_sql example 2021-07-18 00:02:29 +08:00
Chris Tsang
56763a8718 count() on Select 2021-07-17 21:18:20 +08:00
Chris Tsang
c018e45c3c Refactor 2021-07-17 20:35:14 +08:00
Chris Tsang
c82b23795d #48: Select model from raw sql 2021-07-16 21:41:12 +08:00
Billy Chan
e83cc63e3a Replacing Syntax & *BuilderBackend with DatabaseBackend 2021-07-16 00:28:03 +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
a0db19758b SelectTwoMany 2021-06-27 03:39:09 +08:00
Chris Tsang
df7bb5c195 left_join_and_select_also 2021-06-27 00:03:16 +08:00
Chris Tsang
394dfc07cc Fix clippy warning 2021-06-26 23:02:38 +08:00
Billy Chan
a072b1f2f3 from_query_result_opt, FIXME: unit test will fail 2021-06-26 22:58:10 +08:00
Billy Chan
19c0b0c35d Select to many 2021-06-26 22:55:30 +08:00