84 Commits

Author SHA1 Message Date
Billy Chan
2f0ac4ca1d
Fixup 2021-11-08 20:11:44 +08:00
Billy Chan
30f43b64c6
Fixup 2021-11-08 19:03:06 +08:00
Billy Chan
80c0d69733
Merge remote-tracking branch 'origin/master' into returning 2021-11-08 17:37:54 +08:00
Billy Chan
0eafacc2a1
Try returning on MariaDB 2021-11-08 17:36:30 +08:00
Chris Tsang
3df0b941c8
Merge pull request #258 from SeaQL/active-enum
Enumeration
2021-11-08 15:53:25 +08:00
Chris Tsang
6a0db92c8b #290 Add option to disable SQLx logging 2021-11-04 23:36:56 +08:00
Billy Chan
0bbb50b7f6
Merge remote-tracking branch 'origin/master' into active-enum 2021-11-03 10:52:29 +08:00
Billy Chan
158893c540
Enable missing_docs lint 2021-11-02 14:31:28 +08:00
Billy Chan
6018d3f1b9
Merge remote-tracking branch 'origin/master' into active-enum 2021-11-02 12:18:37 +08:00
Charles Chege
a1382b1b41 Fix merge conflicts from SeaQL/sea-orm master branch 2021-10-29 10:44:09 +03:00
Charles Chege
91b9e542af Documetation for the database modeule 2021-10-29 10:37:10 +03:00
Chris Tsang
8338c23341 Do not override max_connections for SQLite 2021-10-29 14:24:54 +08:00
Charles Chege
642994a194 Documentation for the stream module 2021-10-28 15:49:28 +03:00
Billy Chan
55de1968bb
Add create_enum_from_entity 2021-10-27 12:37:35 +08:00
Forest Anderson
bcc5b5066a Changed manual url parsing to use Url crate 2021-10-16 23:19:48 -04:00
Chris Tsang
09324db1b0 Stream example 2021-10-16 01:02:25 +08:00
Chris Tsang
75882b34cb Transaction with BEGIN 2021-10-14 18:33:13 +08:00
Chris Tsang
1d6e6066cd Allow disable SQLx logging 2021-10-13 16:41:51 +08:00
Chris Tsang
bf595ca926 Use Figment config from Rocket 2021-10-13 15:54:49 +08:00
Chris Tsang
c673017b97 ConnectOptions 2021-10-13 02:40:33 +08:00
Chris Tsang
ecaa0dca18 Edit 2021-10-11 18:50:05 +08:00
Chris Tsang
1a2bd13158 Nested transaction unit tests 2021-10-11 18:39:46 +08:00
Chris Tsang
f94c33d1ea Explicit COMMIT and ROLLBACK in Mock 2021-10-11 12:11:40 +08:00
Chris Tsang
91efa1fae2 Test streaming in transaction 2021-10-09 21:45:25 +08:00
Chris Tsang
018f7dd19f Streaming for MockConnection 2021-10-09 21:14:24 +08:00
Chris Tsang
eb87b7c2ce Test case 2021-10-08 16:56:36 +08:00
Chris Tsang
a2ec6cd351 Rename MockTransaction -> Transaction 2021-10-07 18:00:11 +08:00
Chris Tsang
c7532bcc08 Basic MockTransaction implementation
TODO: nested transaction
2021-10-05 19:33:41 +08:00
Chris Tsang
8d0ba28b7e Fix clippy warning 2021-10-04 22:40:17 +08:00
Chris Tsang
df4df87d09 Rename Transaction -> MockTransaction 2021-10-04 21:37:12 +08:00
Chris Tsang
6b98a6f395 Move code 2021-10-04 20:40:44 +08:00
Chris Tsang
af6665fe4f Fix clippy warnings 2021-10-04 12:27:16 +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
baoyachi
8d69b034a0 'url_starts_with' replace with 'is_prefix_of' method 2021-09-27 16:45:25 +08:00
baoyachi
d78a067b2d 'url_starts_with' replace with 'is_prefix_of' method 2021-09-27 16:41:47 +08:00
baoyachi
ae9e1c48ce make url_starts_with access level 2021-09-27 12:34:53 +08:00
baoyachi
203a0d603a fix build error 2021-09-27 12:19:36 +08:00
baoyachi
1cf5cec1c5 refactor code 2021-09-27 12:13:06 +08:00
baoyachi
86f2d7e327 fix #200
* adapter postgrel url scheme
* refactor DbScheme
2021-09-27 11:45:54 +08:00
Billy Chan
b22753bebf Test try_join! 2021-09-20 18:30:31 +08:00
Billy Chan
3093cd2035 DatabaseConnection impl Sync, Send and Clone 2021-09-18 23:17:29 +08:00
Chris Tsang
a781cc6610 Reduce panic 2021-09-03 14:21:51 +08:00
Sam Samai
abed934d3f WIP strange fail with postgres driver 2021-08-01 16:14:31 +10:00
Billy Chan
22516b8f68 Add Postgres db driver 2021-07-21 19:07:02 +08:00
Chris Tsang
303a0f32d6 cargo fmt 2021-07-19 11:15:31 +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
9334d4ff5d DbBackend alias 2021-07-17 22:03:41 +08:00