Chris Tsang
|
1de34b516b
|
Docs
|
2023-03-25 15:11:22 +08:00 |
|
Billy Chan
|
91c4930391
|
Cleanup panic and unwrap (#1231)
* Add clippy linter checks
* Mock
* InnerConnection
* panic -> Err
* panic -> Err
* More panic -> Err
* Replace unwrap
* Fix clippy
* add clippy linters
* Refactor
* Dump DbErr::Mock
* Revert if...else rewrite
* Remove except
* DbErr helper functions
* Fix clippy
* Negative SQLite last_insert_rowid throw unreachable
* Update panics docs
* Fixup
* Fixup
* Fixup
* Fixup
* Revert adding `ExecResultHolder::Disconnected`
* More fixup
* Fix
* Revert adding `QueryResultRow::Disconnected`
* Fix
* Refactoring
* Fix
* Refactoring
* More refactoring
* More refactoring
* Fix
* Revert `InnerConnection::Disconnected`
* Revert breaking changes
* Fix
* Fix
* Fix
* Refactor `.take().expect()`
* Revert changing `if ... else` to `match` block
* Revert changing return type of `MockDatabaseConnection` transaction method
* Borrow sqlcipher_key
* Fetching unsupported type from query result will thrown `DbErr::Type(...)` error
* Revert adding `DatabaseConnection::try_into_transaction_log()` method
* Refactoring
* Refactoring
|
2023-02-02 00:02:53 +08:00 |
|
Billy Chan
|
e927a0e5f5
|
Execute unprepared statement (#1327)
|
2023-01-05 14:08:18 +08:00 |
|
Billy Chan
|
d332afa99c
|
Get SQLx connection pool (#1297)
|
2023-01-05 14:08:10 +08:00 |
|
Marco Napetti
|
824158457b
|
Transactions Isolation level and Access mode (#1230)
* Transactions Isolation level and Access mode
* Fix typo
* Fix clippy lints
|
2022-12-02 13:09:23 +08:00 |
|
Billy Chan
|
115e19a95e
|
Close connection explicitly (#1236)
* Close connection and transaction
* Close connection only
|
2022-11-22 13:55:03 +08:00 |
|
Marco Napetti
|
9d25ee9ac1
|
use GAT to elide StreamTrait lifetime (#1161)
|
2022-11-06 12:55:21 +08:00 |
|
Chris Tsang
|
0ce0f49551
|
Refactor SqlxError;
|
2022-08-28 13:51:21 +08:00 |
|
Billy Chan
|
43495de0aa
|
Fix clippy warnings - 1 (#967)
* Fix clippy warnings
* cargo fmt
* Fix clippy warnings
* cargo fmt
|
2022-08-12 20:02:53 +08:00 |
|
Billy Chan
|
1a3e8c456a
|
[CI] run clippy checks & fix clippy warnings (#840)
* Run clippy checks
* Fix clippy warnings
* Clippy checks for `sea-orm-*` crates
* Fix clippy warnings
* Fixup
|
2022-07-10 15:38:38 +08:00 |
|
Billy Chan
|
f3a7a1398a
|
Merge branch 'master' into pulls/471
|
2022-03-07 15:52:12 +08:00 |
|
Billy Chan
|
8eb095385d
|
Migration (#335)
* Refactor `ConnectionTrait`
* Refactoring
* Build index & foreign key statements
* Fix imports
* Fixup
* Rocket example with migration
* async-std compatible with the tokio 1.0 runtime
* Use reexported dependency
* Compile without selecting any db backend
* Updating sea-orm-cli dep
* sea-orm-cli migrate commands
* cargo fmt
* Test [cli]
* Refactoring
* Clap app name should be "sea-orm-cli"
* Correctly capture MIGRATION_DIR
* Rename README
* Add `sea-orm-cli migrate init` command
* Update README
* Try restructured sea-query dependency (SeaQL/sea-schema#41)
* Set `DATABASE_URL` environment variable
|
2022-02-05 20:34:54 +08:00 |
|
Sebastian Pütz
|
f012ccaec3
|
Add Send bound to streams.
|
2022-01-19 20:46:10 +01:00 |
|
Billy Chan
|
006d35313b
|
Fix clippy warnings
|
2021-12-17 11:39:53 +08:00 |
|
Billy Chan
|
4072e74284
|
cargo fmt
|
2021-12-17 11:14:54 +08: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
|
66c23c85db
|
Revert MySQL & SQLite returning support
|
2021-11-10 14:42:19 +08:00 |
|
Billy Chan
|
cc035d7aa7
|
Refactoring
|
2021-11-09 18:14:13 +08:00 |
|
Billy Chan
|
ec637b26a0
|
Returning support for SQLite
|
2021-11-09 16:10:52 +08:00 |
|
Billy Chan
|
533c3cf175
|
Try
|
2021-11-09 15:38:28 +08:00 |
|
Billy Chan
|
24fab66d17
|
Try
|
2021-11-09 12:11:00 +08:00 |
|
Billy Chan
|
429b920ded
|
Fixup
|
2021-11-09 11:05:55 +08:00 |
|
Billy Chan
|
3e6423aa8a
|
This will fail loll
|
2021-11-08 22:55:00 +08:00 |
|
Billy Chan
|
17232063b3
|
This will fail loll
|
2021-11-08 22:29:18 +08:00 |
|
Billy Chan
|
afdb1afeb8
|
This will fail loll
|
2021-11-08 22:12:09 +08:00 |
|
Billy Chan
|
30f43b64c6
|
Fixup
|
2021-11-08 19:03:06 +08:00 |
|
Billy Chan
|
0eafacc2a1
|
Try returning on MariaDB
|
2021-11-08 17:36:30 +08:00 |
|
Charles Chege
|
91b9e542af
|
Documetation for the database modeule
|
2021-10-29 10:37:10 +03:00 |
|
Forest Anderson
|
bcc5b5066a
|
Changed manual url parsing to use Url crate
|
2021-10-16 23:19:48 -04:00 |
|
Chris Tsang
|
a2ec6cd351
|
Rename MockTransaction -> Transaction
|
2021-10-07 18:00:11 +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
|
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 |
|