2463 Commits

Author SHA1 Message Date
Billy Chan
2adbf8cd22
Gold Sponsor 2024-02-02 13:21:35 +08:00
SZenglein
d79b9590b2
Happy New Year! (#2093) 2024-02-01 17:20:23 +08:00
Billy Chan
30fcdcbd5e
gitignore 2024-02-01 17:00:32 +08:00
Chris Tsang
0016eff73b Update 2024-01-28 01:50:43 +00:00
Chris Tsang
59e987453d fmt 2024-01-27 19:43:04 +00:00
Chris Tsang
8e6316c90e fmt 2024-01-27 19:32:39 +00:00
Chris Tsang
3c07c91d54 Doc #2083 2024-01-27 19:31:43 +00:00
Chris Tsang
390ca0f0f6 Edit #2083 2024-01-27 14:36:26 +00:00
Chris Tsang
387b07e1c5 Changelog 2024-01-25 10:30:52 +00:00
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
1abb0b2d91 Fix #1851 2024-01-24 18:24:23 +00:00
Billy Chan
9797da1ee4
Drop the use of rust_decimal_macros (#2078) 2024-01-24 17:58:50 +08:00
Chris Tsang
b5804551eb update examples 2024-01-22 09:48:29 +00:00
Chris Tsang
70d4278598 0.12.12 2024-01-22 09:48:29 +00:00
Chris Tsang
f16bac9a9f Edit 2024-01-21 17:17:17 +00:00
Chris Tsang
9b53db99c3 Edit 2024-01-21 17:17:09 +00:00
Chris Tsang
00eba94c4f Bump sea-orm-rocket 2024-01-21 16:22:48 +00:00
Chris Tsang
c2e6e54a50 Update Rocket 2024-01-21 16:17:23 +00:00
Chris Tsang
4690bafcbd Edit 2024-01-20 22:08:35 +00:00
Chris Tsang
59afbd4cdf Changelog 2024-01-20 22:06:28 +00:00
Chris Tsang
382ffa3054 Add ConnectOptions::test_before_acquire #2066 2024-01-20 22:05:16 +00:00
Billy Chan
c6e1a84a12
codegen: testing entity generation of composite foreign key (#2071) 2024-01-19 18:47:49 +08:00
Chris Tsang
f2bda8a4c2 Changelog 2024-01-17 20:55:21 +00:00
Zhang Yao
d8582c30ab
Fix problems in #1819 (#1821)
* Fix problems in #1819

* Add test cases

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-01-19 18:39:57 +08:00
Chris Tsang
131f9f1123 Changelog 2024-01-14 16:15:21 +00:00
Chris Tsang
ca6f381d28 update examples 2024-01-14 16:10:33 +00:00
Chris Tsang
260b8a4076 0.12.11 2024-01-14 16:10:33 +00:00
Chris Tsang
361924336d clippy 2024-01-14 15:55:08 +00:00
Chris Tsang
f27526b79d Changelog 2024-01-14 15:43:57 +00:00
Francis Le Roy
7eb3e12294
Updated the 'QuerySelect' trait to expose 'lock_with_behavior' (#1867) 2024-01-14 23:51:51 +08:00
Chris Tsang
3b0896b527 Changelog 2024-01-14 15:17:27 +00:00
Maksim Zaborovskiy
c5adb9d1d1
Add cursor pagination desc order (#2037)
* feat: add cursor pagination desc order

* feat: add cursor pagination desc order

* test: add cursor integration tests

* test: add cursor integration tests

* test: add query cursor_by tests

* test: add query cursor_by tests

* test: add query cursor_by tests

* test: add query cursor_by tests

* test: add query cursor_by tests

* test: add query cursor_by sort tests

* chore: remove unused import
2024-01-14 23:23:55 +08:00
Chris Tsang
5f9c450027 Changelog 2024-01-14 15:05:14 +00:00
bobogei81123
13d383e43c
fix: fully qualify types in DeriveValueType macro (#2054)
`DeriveValueType` proc macro relies on several sea-orm types to be
imported. This is partially fixed in #1855 by fully qualifying
`sea_orm::QueryResult`, but others like `sea_orm::Value` is still not
being qualified. Also, if use defined a type alias on
`std::result::Result`, it can cause the proc macro to generate code that
won't compile.

- Fully qualify `sea_orm::Value`, `std::string::String`, and
  `std::result::Result` in `DeriveValueType` proc macro.
- Add some simple integration tests for this.
- Add doc and doc test in `sea_orm_macro::derive_value_type`.
2024-01-14 23:06:40 +08:00
Dmitrii Aleksandrov
e3c94a7708
Export main() of sea-orm-cli (#1889) (#2034)
* Export main() of sea-orm-cli (#1889)

* Fix compile error: require "codegen" feature for main()
2024-01-12 22:43:13 +08:00
Dmitrii Aleksandrov
a73f699578
Cast enums in lt(), lte(), gt(), gte() (#2014)
* Cast enums in lt, lte, gt, gte (revert 10f3de0, discussed under #1527)

* Add tests for enum order comparisons
2024-01-12 22:42:29 +08:00
Chris Tsang
914ae2e166 Changelog 2024-01-12 11:16:48 +00:00
Anshul Sanghi
f019d6ab22
Add Ability To Configure SQLx Slow Statement Logging Settings (#2055)
* Add Ability To Configure SQLx Slow Statement Logging Settings

* Disable SQLX Slow Statement Logging By Default
2024-01-12 19:16:24 +08:00
Chris Tsang
358e31a09b Changelog 2024-01-10 16:25:43 +00: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
Shogo Nakano
3dc66aa17d
refactor: add clear_order_by for num_items (#2030) 2024-01-10 18:30:30 +08:00
藍+85CD
c3344347f7
Add hatsu to COMMUNITY.md (#2036)
* Add hatsu to COMMUNITY.md

* Update COMMUNITY.md
2023-12-31 08:08:41 +08:00
Chris Tsang
53ec0e1548 Community 2023-12-19 01:35:26 +00:00
Dotan J. Nahum
3af70f4aff
Community: add Loco.rs framework (#2026) 2023-12-19 19:37:53 +08:00
Chris Tsang
0ad6c2fb14 Readme 2023-12-16 19:44:32 +00:00
Chris Tsang
84a24bab01 Rename things 2023-12-14 21:13:04 +00:00
Chris Tsang
1554db5000 Fixup 2023-12-14 20:21:11 +00:00
Chris Tsang
e10dcd012f Revert "Fixup"
This reverts commit 8a29cba78a45fc6c7fa578dfb0163ec44a77de98.
2023-12-14 20:20:25 +00:00
Chris Tsang
8a29cba78a Fixup 2023-12-14 20:03:02 +00:00
Chris Tsang
91b6f79ba7 Changelog 2023-12-14 19:50:50 +00:00