Sebastian Pütz
f012ccaec3
Add Send bound to streams.
2022-01-19 20:46:10 +01:00
Billy Chan
4072e74284
cargo fmt
2021-12-17 11:14:54 +08:00
Marco Napetti
6b94673dd9
First metric and tracing implementation
2021-12-09 15:12:41 +01:00
Billy Chan
f9d04fc73f
Hotfix - separate counter for mock exec & query
2021-11-16 17:21:44 +08:00
Chris Tsang
5f2fa55253
Edit docs
2021-11-14 16:58:52 +08:00
Charles Chege
e4d115b5b0
Document the database drivers
2021-10-29 10:39:37 +03: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
e7b822c65d
cargo fmt
2021-10-04 11:44:02 +08:00
Marco Napetti
02ebc9745c
Transaction 3
2021-10-04 11:39:16 +08:00
baoyachi
d78a067b2d
'url_starts_with' replace with 'is_prefix_of' method
2021-09-27 16:41:47 +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
2ccc8c527a
cargo fmt
2021-09-27 11:49:20 +08:00
baoyachi
86f2d7e327
fix #200
...
* adapter postgrel url scheme
* refactor DbScheme
2021-09-27 11:45:54 +08:00
Billy Chan
7f38621c3c
Set clippy deny
2021-09-03 14:26:57 +08:00
Billy Chan
b1d28db5ad
Fix clippy warnings
2021-08-10 11:03:41 +08: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
9334d4ff5d
DbBackend alias
2021-07-17 22:03:41 +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
f9ba6eeb1f
Transaction
2021-06-19 16:42:11 +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
faffc518ae
Mock test case
2021-06-13 23:38:21 +08:00
Chris Tsang
6b7ea75393
Mock Database Connection
2021-06-13 22:20:50 +08:00