Chris Tsang
cc677e37d5
Print some Entity Generate messages ( #1787 )
2023-07-27 19:19:04 +08:00
Chris Tsang
ae8dcceb43
Community Survey
2023-07-27 19:11:17 +08:00
Chris Tsang
ec581abf56
Fix test
2023-07-26 21:09:25 +01:00
Chris Tsang
530c612bc4
Edit
2023-07-26 20:31:58 +01:00
Chris Tsang
3f81fd5e89
cargo fmt
2023-07-26 20:27:26 +01:00
Chris Tsang
97ee0a9703
Test derive FromJsonQueryResult
2023-07-26 20:17:55 +01:00
Chris Tsang
8064097639
Comment
2023-07-26 19:03:56 +01:00
Chris Tsang
ebbfc0f5be
Changelog
2023-07-26 17:18:06 +01:00
Chris Tsang
ad33d7745d
Readme
2023-07-26 19:07:36 +08:00
Chris Tsang
2ce41fa6f2
Readme
2023-07-26 18:59:16 +08:00
Chris Tsang
f589fb03d1
0.12.0-rc.5
2023-07-25 16:28:36 +08:00
Chris Tsang
90b7242063
Update build script
2023-07-25 16:28:35 +08:00
Chris Tsang
96087291c2
0.12.0-rc.5
2023-07-25 16:28:35 +08:00
darkmmon
84be56e01a
update example's dependency versions ( #1759 )
...
* version update, all examples marked with #notcomplete does not compile with cargo run
* WIP
* salvo example fixed
* testing, and boost a minor version
* fmt
* build dependency update
* CI
* cleanup
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-07-25 16:12:44 +08:00
Billy Chan
2eeb93567c
[CI] run fmt checks with nightly toolchain ( #1780 )
2023-07-25 13:49:16 +08:00
Billy Chan
49c494aa6c
CI Fixup ( #1777 )
2023-07-24 18:26:44 +08:00
Billy Chan
63a46f8931
COMMUNITY
2023-07-24 12:06:19 +08:00
Manuel Gugger
abc86638d5
Add actix-admin to showcases ( #1761 )
...
Co-authored-by: Manuel Gugger <manuel.gugger@gmail.com>
2023-07-24 11:54:57 +08:00
Tree Xie
7902177da7
community: Add CyberAPI to COMMUNITY.md, #403 ( #1729 )
2023-07-24 11:54:23 +08:00
Aidan Gauland
b14a88f7ae
Expose sea-orm feature flags in sea-orm-migration ( #1775 )
...
Some features of the sea-query language are unavailable in migrations with the default feature flags, so we need to be able to enable them in sea-orm-migration
2023-07-24 04:53:04 +08:00
Chris Tsang
2335fe9d35
Changelog
2023-07-22 00:57:54 +08:00
Billy Chan
9b54797dd7
Upgrade SQLx to v0.7 ( #1742 )
...
* Upgrade SQLx to v0.7
* Refactoring
* Fixup
* Bump SeaSchema version
* Fixup
* Refactoring
* Refactoring
* dep
* Bump
* Update sea-schema
* Update sea-schema
---------
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2023-07-22 01:56:48 +08:00
Chris Tsang
9f47b88748
Changelog
2023-07-21 22:22:34 +08:00
Niklas Korz
73a57836fa
sea-orm-codegen: PostgreSQL enum arrays ( #1678 )
...
* sea-orm-codegen: PostgreSQL enum arrays
* Refactoring
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-07-21 21:45:11 +08:00
Billy Chan
217894ddad
Drop git2
dependency ( #1769 )
...
* Change of API of SeaSchema 0.12
* [CLI] replace `git2` with `glob`
2023-07-21 21:44:43 +08:00
Billy Chan
c64a46a683
[CI] Compile & test each examples on a single instance ( #1767 )
...
* Try
* Try
* Ignore examples root folder
* Try
* Try
* Try
* Try
* Try
* Try
2023-07-20 21:46:52 +08:00
Chris Tsang
09c416744f
Changelog
2023-07-13 16:55:04 +01:00
Chris Tsang
a5f2ae69e9
Organize entity prelude
2023-07-13 16:53:24 +01:00
Chris Tsang
e8b1c0b975
Docs
2023-07-13 16:39:41 +01:00
Chris Tsang
d920fc3eda
Changelog
2023-07-13 16:33:03 +01:00
darkmmon
fd4aab7a8c
Connection acquire expand ( #1737 )
...
* Try connection pool acquire timeout
* expanded ConnectionAcquire Errors, and adjusted relevant functions
* updated to include ClosedConnection
removed unknown as variant of ConnectionAcquireError
updated DbErr Eq
* revert mistakenly edited code
* prolonged the timeout time for connection timeout tests
* Revert "prolonged the timeout time for connection timeout tests"
This reverts commit 04d98cf1fdafe64dbe6168b3bbcdcc813329ac4c.
* Error PartialEq & Eq
* fn conn_acquire_err
* refactor code with conn_acquire_err
* fmt
* error msg
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-07-13 23:24:12 +08:00
Chris Tsang
500e761a68
Changelog
2023-07-13 16:00:37 +01:00
Chris Tsang
7352008e0e
Changelog
2023-07-13 15:43:23 +01:00
Chris Tsang
3629b91d01
Do not deprecate default_value
2023-07-13 15:16:55 +01:00
Diwakar Gupta
1ba37b61d5
Add default_expr support for ColumnDef ( #1474 )
...
* Add default_expr support for ColumnDef
* added test for attribute `default_value`
* Implements `PartialEq` for `sea_query::SimpleExpr`
* RcOrArc
* Re-export `sea_query::Expr` in `sea_orm::entity::prelude`
* Add default_expr support for ColumnDef
* added test for attribute `default_value`
* Implements `PartialEq` for `sea_query::SimpleExpr`
* RcOrArc
* Re-export `sea_query::Expr` in `sea_orm::entity::prelude`
* Deprecate `ColumnDef::default_value()`
* Add `ColumnDef::default()`
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2023-07-13 22:09:53 +08:00
Chris Tsang
4953e37a34
Merge pull request #1755 from SeaQL/derive_iden
...
Remove sea-query's Iden macro; introduce DeriveIden
2023-07-13 21:51:26 +08:00
Chris Tsang
c2d1968627
Reinstate Table => type_name semantic
2023-07-13 11:30:34 +01:00
Chris Tsang
ae899d6744
Remove sea-query's Iden macro
2023-07-13 10:36:56 +01:00
darkmmon
866025a733
implement DeriveIden in sea-orm only ( #1740 )
...
* WIP, implementing Iden
* completed implementation for DeriveIden and added basic test cases
* added feature flag to prevent sea-orm::sea-query::DeriveIden from crashing when sea-query is not used
* fixed doc test and adjusted test case
* enable `sea-query-derive`'s `sea-orm` feature
* Bump `sea-query-derive` to v0.4
* Update Cargo.toml
* Update Cargo.toml
* adjusted test cases and updated so that iden attribute will not be snake cased
* Update Cargo.toml
* Update main.rs
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2023-07-13 16:28:35 +08:00
Chris Tsang
b4c1a692f5
Edit
2023-07-12 20:26:35 +08:00
Billy Chan
d09ca3ea77
CHANGELOG
2023-07-12 19:10:37 +08:00
Billy Chan
288f73de21
Upgrade strum
to v0.25 ( #1752 )
...
* Upgrade `strum` to v0.25
* CHANGELOG
---------
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2023-07-12 19:05:58 +08:00
Billy Chan
a55162e3b8
CHANGELOG
2023-07-12 18:41:19 +08:00
Billy Chan
1b903f73d8
CHANGELOG
2023-07-12 17:37:25 +08:00
Billy Chan
4c682539b6
CHANGELOG
2023-07-12 17:03:28 +08:00
Billy Chan
df390ff7ce
CHANGELOG
2023-07-12 15:22:21 +08:00
Chris Tsang
bdddb3163d
Changelog
2023-07-10 21:57:52 +08:00
Chris Tsang
727d83c9d7
Docs
2023-07-10 21:55:26 +08:00
Chris Tsang
07b1e78226
Merge pull request #1677 from SeaQL/update-many-with-returning
...
Update many with returning
2023-07-10 22:02:07 +08:00
Chris Tsang
d7a978642e
Do not throw RecordNotUpdated error
2023-07-10 20:17:34 +08:00