Billy Chan
4709d92ad2
docs
2024-06-21 17:36:47 +08:00
Billy Chan
5e04b3b551
fmt
2024-06-19 20:45:39 +08:00
Billy Chan
1c03a28c8a
docs
2024-06-19 20:40:39 +08:00
Billy Chan
b4506c0647
MySQL insert on conflict do nothing ( #2244 )
...
* MySQL insert on conflict do nothing
* on_conflict_do_nothing
* clippy
2024-06-19 20:09:30 +08:00
Chris Tsang
ad9f3c4112
Doc
2024-06-19 12:58:24 +01:00
Chris Tsang
1cdbbd4025
Added QuerySelect::tbl_col_as
2024-06-19 12:57:55 +01:00
Chris Tsang
a9c2e1bd0b
FIX YOU
2024-06-19 12:41:24 +01:00
Jérémie Drouet
055dbf02d4
fix: update setting search path in postgres ( #2241 )
...
* fix: update setting search path in postgres
When using multiple schemas in search path for postgres, using quoted string breaks the ability to use multiple schemas.
Removing the quotes fixes it.
* Add test cases
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-06-19 16:05:14 +08:00
Chris Tsang
7678624cd9
README
2024-05-28 16:29:46 +01:00
Chris Tsang
e75fa6aa49
README
2024-05-28 16:29:19 +01:00
Chris Tsang
3865ca3729
README
2024-05-28 16:28:34 +01:00
Chris Tsang
4ae267d808
README
2024-05-28 16:24:24 +01:00
Billy Chan
b575072aa5
README
2024-05-28 16:01:06 +08:00
Diptesh Choudhuri
59fb6c11b9
feat: add function to allow order by nulls ( #2228 )
...
* feat: add function to allow order by nulls
* fix: make the correct import
* fix: use correct backend for doc tests
* chore: add space
2024-05-27 09:00:56 +01:00
Chris Tsang
2b6e72474a
Expose get_xxx_connection_pool
by default #2233
2024-05-23 14:08:09 +02:00
Dmitrii Aleksandrov
605ea19672
Merge branch 'master' into set-if-not-equals
2024-05-09 23:08:32 +04:00
Chris Tsang
e77cc5fa65
Merge pull request #2186 from SeaQL/entity-behavior
...
Associate `ActiveModel` to `EntityTrait`
2024-05-09 17:53:31 +01:00
Chris Tsang
c2b8c44118
Merge pull request #2185 from SeaQL/pk-arity-trait
...
`PrimaryKeyArity` trait
2024-05-09 17:50:34 +01:00
Dmitrii Aleksandrov
e162a1be9e
Add ActiveValue::try_as_ref() ( #2197 )
2024-05-09 17:44:37 +01:00
Billy Chan
aa626fc1fd
clippy
2024-05-06 13:53:41 +08:00
Billy Chan
33f4659db7
clippy
2024-05-03 13:46:38 +08:00
Billy Chan
e6649988dd
docs
2024-04-26 11:56:52 +08:00
Joe
c724ec5751
Add method for retrieiving column names ( #2148 )
...
* Add method for retrieiving column names
* Address PR comments as well as add test
2024-04-17 23:12:57 +01:00
Dmitrii Aleksandrov
b2b0a404e4
Add ActiveValue::set_if_not_equals()
2024-04-10 23:01:07 +04:00
Chris Tsang
1c269a081f
Associate ActiveModel
to EntityTrait
2024-04-03 21:14:22 +01:00
Chris Tsang
fe3e92bfdf
Make use of ARITY
2024-04-03 20:51:39 +01:00
Billy Chan
f066b7a4d2
PrimaryKeyArity
trait
2024-04-03 12:00:46 +08:00
Billy Chan
c8c02f6f6e
Upstream Changes - 5 ( #2176 )
...
* Upstream Changes - 5
* clippy
* more
2024-03-28 16:25:31 +08:00
Billy Chan
b866236704
examples: deprecate actix3_example ( #2154 )
2024-03-13 13:46:53 +08:00
Dmitrii Aleksandrov
159c53e65f
Add RelationDef::from_alias()
( #2146 )
...
* Add `RelationDef::from_alias()`
* Fix code formatting
* Fix code formatting again
2024-03-10 23:55:22 +00:00
Billy Chan
f3967fdaca
Upstream Changes - 1 ( #2145 )
...
* upstream changes
* universal `#[sea_orm_macros::test]`
* fix
* fix
* `ColumnTrait::into_returning_expr`
* fix
* fix
* Do not pub sqlx_common
---------
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2024-03-10 18:14:46 +00:00
Billy Chan
b775027fee
Explicit StringLen
on ColumnType::String
( #2123 )
2024-03-05 15:31:58 +08:00
Forest Anderson
88fafa57d9
Add mock feature flag docs ( #2109 )
2024-02-28 20:04:12 +00:00
Billy Chan
cef380b977
SQLite type mappings ( #2077 )
...
* sqlite: deps
* sqlite: update data type mappings
* sqlite: decimal test cases
* sqlite: try negative numbers
* fixup
* fixup
* fmt
* clippy
* fixup
* fixup
* fixup
* refactor
* fix
* Drop the use of `rust_decimal_macros` (#2078 )
* sqlite: decimal -> real
* revert
* Bump dependencies
* Fixup
* Fixup
* Fixup
* Fixup
* Refactor
* Refactor
* Refactor
2024-02-05 14:42:55 +08:00
Billy Chan
76f73e778d
README
2024-02-02 17:01:25 +08:00
Billy Chan
ab7de834b9
README
2024-02-02 16:51:30 +08:00
Billy Chan
9cd96462e8
Gold Sponsor
2024-02-02 13:35:30 +08:00
Billy Chan
116cfebece
Gold Sponsor
2024-02-02 13:22:13 +08:00
Billy Chan
2adbf8cd22
Gold Sponsor
2024-02-02 13:21:35 +08:00
Chris Tsang
0016eff73b
Update
2024-01-28 01:50:43 +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
4690bafcbd
Edit
2024-01-20 22:08:35 +00:00
Chris Tsang
382ffa3054
Add ConnectOptions::test_before_acquire
#2066
2024-01-20 22:05:16 +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
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
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
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
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