2558 Commits

Author SHA1 Message Date
Chris Tsang
3e45ac42a2 Revert case_style.rs 2024-05-28 20:18:25 +01:00
Anshul Sanghi
33230ab3ad
Auto Generated ActiveEnum String Values And Model Column Names (#2170)
* WIP: Add Basic Support For Providing String Value For ActiveEnum Variants Based On Renaming Rules #2160

* WIP: Use Existing Case Style Handlers For Enum Rename Rules, Add Unit Tests For DeriveActiveEnum rename rules #2160

* WIP: Improve Implementation Of Name Case Parameters In ActiveEnum Macros #2160

* WIP: Implement Case Styles Based Name Generation For Columns In A Model #2160

* Fix Formatting #2160

* Rename Column Name And Enum Variant Renaming Macro Attributes #2160

* Revert Adding `Rename` Attribute For Column Names #2160

* Revert Unintended Formatting Changes #2160

* Fix formatting

---------

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2024-05-28 20:02:41 +01:00
Chris Tsang
17b4081444 Changelog 2024-05-28 16:42:45 +01: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
Billy Chan
a2f8f68d93
Update dependency 2024-05-28 15:54:28 +08:00
Billy Chan
387d47b105
Remove unused configs 2024-05-28 15:40:38 +08:00
Billy Chan
ba672903ba
README 2024-05-28 15:20:32 +08:00
Billy Chan
2d6b67c04c
cleanup 2024-05-28 15:18:57 +08:00
Billy Chan
b63223d78d
Getting Started with Loco & SeaORM (#2230)
* Getting Started with Loco & SeaORM

* README

* edit

* README
2024-05-28 15:06:53 +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
Chris Tsang
010433bf16
Update CHANGELOG.md 2024-05-10 23:26:04 +01:00
Chris Tsang
bc899132e2
Merge pull request #2194 from Expurple/set-if-not-equals
Add `ActiveValue::set_if_not_equals()`
2024-05-10 23:22:32 +01:00
Chris Tsang
920f10fe4d
Update CHANGELOG.md 2024-05-10 09:58:15 +01: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
4693fc125b
update examples 2024-05-03 16:07:49 +08:00
Billy Chan
0798bf2037
1.0.0-rc.4 2024-05-03 16:07:49 +08:00
Billy Chan
36a151bba7
Added ColumnType::Blob (#2213)
* Added `ColumnType::Blob`

* Fix

* Fix

* Use latest rc versions

* bump sea-query & sea-schema

* fix loco examples

* fix loco examples

* revert
2024-05-03 16:07:36 +08:00
Billy Chan
33f4659db7
clippy 2024-05-03 13:46:38 +08:00
Billy Chan
8687407257
seaography examples 2024-05-02 14:13:40 +08:00
Billy Chan
7f0290de3f
Bump sea-schema 2024-05-02 13:18:57 +08:00
Billy Chan
e6649988dd
docs 2024-04-26 11:56:52 +08:00
Chris Tsang
70be029e3b Changelog 2024-04-19 18:45:15 +01:00
Chris Tsang
8ab51c7e9e
Update CHANGELOG.md 2024-04-18 22:25:55 +01:00
Rafael Oliveira
c59e28f8c0
use @generated mark in files created by sea-orm-codegen (#2199)
This makes it easier for external tools to identify these files as
generated and treat them differently according to their own
configuration.
2024-04-17 23:51:01 +01:00
Hayashi Mikihiro
a069d46aff
add #![cfg(any(feature ...))], to reduce warning in cargo test (#2177) 2024-04-17 23:49:00 +01: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
Chris Tsang
7fdeb8a4be Bump sea-query 2024-04-14 23:05:20 +01:00
Dmitrii Aleksandrov
b2b0a404e4 Add ActiveValue::set_if_not_equals() 2024-04-10 23:01:07 +04:00
Billy Chan
145bfa02a9
Fix graphql example 2024-04-08 19:00:38 +08:00
Chris Tsang
8c7395441b Remove dead link 2024-04-05 12:13:44 +01:00
Chris Tsang
3b3a4463ad fmt 2024-04-03 21:33:35 +01: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
Chris Tsang
785a9faecf Changelog 2024-04-03 20:46:31 +01:00
Billy Chan
f066b7a4d2
PrimaryKeyArity trait 2024-04-03 12:00:46 +08:00
Billy Chan
fe8fc03769
Release Bot 2024-04-02 12:57:42 +08:00
Danny de Jong
e34f09d362
Set runtime features for sqlx. (#2171)
* Set runtime features for sqlx.

* Apply suggestions from code review

---------

Co-authored-by: Danny de Jong <ddejong@therp.nl>
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2024-03-29 19:20:41 +00:00
Billy Chan
c8c02f6f6e
Upstream Changes - 5 (#2176)
* Upstream Changes - 5

* clippy

* more
2024-03-28 16:25:31 +08:00
Billy Chan
0ff000b8f8
Upstream Changes - 4 (#2168)
* cli: generate entity ignore default database schema

* fixup

* select result is `i32`

* fix

* clippy

* revert

* revert

* revert

* revert
2024-03-27 16:19:03 +08:00
Billy Chan
6b52288fcc
update examples 2024-03-27 00:17:42 +08:00
Billy Chan
cdf216ccb1
1.0.0-rc.3 2024-03-27 00:17:41 +08:00