Andrea Corradi
c56c072f27
Enable sqlite returning with feature flag ( #2070 )
...
* Enable sqlite returning with feature flag
* Add runtime check for sqlite version
* Apply suggestions from code review
* Fix clippy
* Rename feature
* Fix tests when feature flag is not enabled
---------
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2024-01-26 04:28:59 +08:00
Chris Tsang
f54683d365
Refactor/fix clippy errors ( #2056 ) ( #2057 )
...
* chore: add clippy config file
* refactor: fix clippy errors and wornings of runtime-async-std-native-tls,sqlx-all
* refactor: fix clippy errors and wornings of sqlx-sqlite, sqlx-mysql, sqlx-postgres
* chore: format
* refactor: fix clippy
* fix: import path
* refactor: fix clippy errors and wornings of sqlx-sqlite, sqlx-mysql, sqlx-postgres
* fix: revert some space and comma removal
* fix: revert some space and comma removal
* refactor: add feature flag
* fix: import path
* test: remove mismatch feature flag
* test: remove mismatch feature flag
* chore: add proper feature flag
* chore: remove feature flag
* refactor: remove clippy.toml file
* fix: re-export driver
* fix: re-export JoinType
* fix: remove feature flag
* chore: add #[allow(unused_imports)] for driver
Co-authored-by: Shogo Nakano <61229807+shogo-nakano-desu@users.noreply.github.com>
2024-01-11 00:21:22 +08:00
Chris Tsang
d7a978642e
Do not throw RecordNotUpdated error
2023-07-10 20:17:34 +08:00
Billy Chan
53caf94af9
Update many with returning
2023-07-10 20:16:58 +08:00
Billy Chan
d099669ad8
Cleanup ambiguous glob imports ( #1692 )
...
* Cleanup ambiguous glob imports
* fix
2023-06-06 15:00:05 +08:00
Billy Chan
e246d3faaf
Cont. Upgrade to SeaQuery 0.28.0 ( #1366 )
...
* Upgrade to SeaQuery 0.28.0
* Remove unnecessary heap allocation
* Upgrade sea-query-binder
* Upgrade sea-schema
* Fix
* Upgrade sea-schema
* refactoring
Co-authored-by: Ivan Krivosheev <py.krivosheev@gmail.com>
2023-01-05 20:41:28 +08:00
Billy Chan
d6831e5295
Bump version of sqlx, sea-query, sea-schema, time and uuid ( #834 )
...
* Bump version of sqlx, sea-query, sea-schema, time and uuid
* PostgreSQL `u32` was wrapped in `Oid` (launchbadge/sqlx#1602 )
* Update test cases
* Fix clippy warnings
* cargo fmt
* Fix clippy warnings
* Bump sea-schema to ^0.9.2
* Update test cases
* Pin on sea-query minor version
2022-07-05 01:05:11 +08: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
8020ae1209
Fixup
2021-11-09 12:23:49 +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
30a50ca75d
Try
2021-11-09 10:22:31 +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