2682 Commits

Author SHA1 Message Date
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
Billy Chan
f7baa415e7
CHANELOG 2024-03-25 14:28:24 +08:00
Chris Tsang
5d78e56f8c Fix sea-schema 2024-03-24 20:16:46 +00:00
Chris Tsang
38a7e551bf Fix dependency 2024-03-24 19:52:23 +00:00
Chris Tsang
9e8448819c
Update CHANGELOG.md 2024-03-24 00:26:03 +00:00
Albert Marashi
96917c5a1a
Use full qualifier in derives (#1665)
* Update active_model.rs

* Update active_model.rs

Added missing sea_orm qualifier
2024-03-24 00:23:45 +00:00
Billy Chan
a321f0a566
Upstream Changes - 3 (#2155)
* Upstream Changes - 3

* refactor

* revert
2024-03-19 16:57:46 +08:00
Chris Tsang
5c8bca02cd update examples 2024-03-15 23:31:57 +00:00
Chris Tsang
65de9f929c 1.0.0-rc.2 2024-03-15 23:31:56 +00:00
Chris Tsang
88128ee2aa [cli] test 2024-03-15 23:11:37 +00:00
Chris Tsang
4cda344811 Changelog 2024-03-15 23:09:00 +00:00
Chris Tsang
8f406575e7 Upgrade sea-schema 2024-03-15 23:01:52 +00:00
Chris Tsang
75c1e2c1f7 Changelog 2024-03-13 09:04:44 +00:00
Billy Chan
950a3bc201
Upstream Changes - 2 (#2149)
* Upstream Changes - 2

* revert
2024-03-13 08:51:17 +00:00
Billy Chan
b866236704
examples: deprecate actix3_example (#2154) 2024-03-13 13:46:53 +08:00
Chris Tsang
f0724c41d8
Changelog 2024-03-10 23:58:48 +00: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
Chris Tsang
be7ec5b64b
Changelog 2024-03-10 23:52:02 +00:00
Mateusz Maćkowski
b1f0a81672
Bring back rocket_okapi support (#2136) 2024-03-10 23:51:01 +00:00
Chris Tsang
a5b3759e96
Changelog 2024-03-10 23:45:51 +00:00
ikka0426
763a3f9aa1
actix example bug fix (#2140)
* bug fix

* fmt

---------

Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2024-03-10 23:42:07 +00:00
Chris Tsang
d64b627ba2
Changelog 2024-03-10 23:41:53 +00:00
Chris Tsang
572311d0ff
Changelog 2024-03-10 23:39:00 +00:00
凊弦凝绝
a0a7e74ae9
Fix DerivePartialModel attr entity not support syn::Type token (#2137)
* 🐛 fix macro attr `entity` only accept `Ident`

* 🎨 cargo fmt

*  fix test
2024-03-10 18:20:24 +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
Chris Tsang
9318a544fc
Update CHANGELOG.md 2024-02-28 20:14:44 +00:00