Billy Chan
|
4072e74284
|
cargo fmt
|
2021-12-17 11:14:54 +08:00 |
|
Marco Napetti
|
9a342546f3
|
use macro to simplify code, add failure boolean
|
2021-12-10 10:09:09 +01:00 |
|
Marco Napetti
|
aaf11dd265
|
Into doesn't works
|
2021-12-09 19:17:41 +01:00 |
|
Marco Napetti
|
4abe8310a5
|
Per-connection metric
|
2021-12-09 19:03:46 +01: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
|
5f768aa436
|
Merge pull request #312 from SeaQL/detailed-conn-errors
Detailed connection errors
|
2021-11-15 10:47:50 +08:00 |
|
Chris Tsang
|
5f2fa55253
|
Edit docs
|
2021-11-14 16:58:52 +08:00 |
|
Billy Chan
|
da705f6629
|
Detailed connection errors
|
2021-11-11 16:58:11 +08:00 |
|
Billy Chan
|
fcf3ea9407
|
Try fixing some doctest errors
|
2021-10-31 14:40:36 +08:00 |
|
Charles Chege
|
e0023611a2
|
Improve documentation for the drivers and the entity
Provide module level code example on how to create an Entity, Model, ActiveModel, Column and PrimaryKey
|
2021-10-30 11:15:43 +03:00 |
|
Charles Chege
|
a1382b1b41
|
Fix merge conflicts from SeaQL/sea-orm master branch
|
2021-10-29 10:44:09 +03:00 |
|
Charles Chege
|
e4d115b5b0
|
Document the database drivers
|
2021-10-29 10:39:37 +03:00 |
|
Chris Tsang
|
8338c23341
|
Do not override max_connections for SQLite
|
2021-10-29 14:24:54 +08:00 |
|
Chris Tsang
|
1d6e6066cd
|
Allow disable SQLx logging
|
2021-10-13 16:41:51 +08:00 |
|
Chris Tsang
|
c673017b97
|
ConnectOptions
|
2021-10-13 02:40:33 +08:00 |
|
Chris Tsang
|
7bc6477091
|
Merge branch 'master' into transaction-3
|
2021-10-12 14:24:35 +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
|
e7b822c65d
|
cargo fmt
|
2021-10-04 11:44:02 +08:00 |
|
Marco Napetti
|
02ebc9745c
|
Transaction 3
|
2021-10-04 11:39:16 +08:00 |
|
Billy Chan
|
a1a7a98a5c
|
Set SqlxSqlit pool max connection to 1
|
2021-09-28 18:21:00 +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
|
3093cd2035
|
DatabaseConnection impl Sync, Send and Clone
|
2021-09-18 23:17:29 +08:00 |
|
Chris Tsang
|
60fdc78766
|
Move RocketDbPool
|
2021-09-03 23:12:49 +08:00 |
|
Sam Samai
|
71926cfd4b
|
Merge branch 'master' into ss/rocket-example
# Conflicts:
# Cargo.toml
|
2021-09-03 22:33:16 +10:00 |
|
Billy Chan
|
7f38621c3c
|
Set clippy deny
|
2021-09-03 14:26:57 +08:00 |
|
Sam Samai
|
5f47421b38
|
Remove sqlx dir and clean up
|
2021-09-02 21:47:55 +10:00 |
|
Sam Samai
|
b825df1331
|
Get db_url from Db in run_migrations
|
2021-09-02 21:33:28 +10:00 |
|
Sam Samai
|
13364ab63c
|
Use the database url in Rocket.toml to connect to mysql/postgres
|
2021-09-01 19:59:29 +10:00 |
|
Billy Chan
|
dfe26f9b7c
|
Without direct rocket dependency
|
2021-08-30 22:34:02 +08:00 |
|
Billy Chan
|
4e5a8d2dc5
|
WIP
|
2021-08-29 20:57:25 +08:00 |
|
Sam Samai
|
1126aae479
|
Generalize over MySQL and Postgres
|
2021-08-29 21:37:55 +10:00 |
|
Billy Chan
|
3bada7fbc3
|
WIP
|
2021-08-29 12:05:55 +08:00 |
|
Billy Chan
|
ccfda51a5e
|
WIP
|
2021-08-28 23:48:13 +08:00 |
|
Billy Chan
|
87d4f09931
|
Add rocket-mysql driver
|
2021-08-25 23:05:30 +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
|
6ff5a32b7a
|
cargo fmt
|
2021-07-11 22:08:37 +08:00 |
|