1203 Commits

Author SHA1 Message Date
Billy Chan
96a776ae9d
test(Schema): add test cases for Schema::create_enum_from_entity & Schema::create_enum_from_active_enum 2021-12-22 16:14:17 +08:00
Chris Tsang
09fd9ba725 Docs 2021-12-19 02:23:23 +08:00
Billy Chan
adfb9ead54
Rework ActiveValue (#340)
* WIP

* Fixup

* Fixup

* Update docs & rename `unset`

* Deprecate `Unset()` and reexport `ActiveValue::NotSet`

* Docs

Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2021-12-19 02:22:30 +08:00
Billy Chan
5104cd3573
Insert & Update Return Model (#339)
* Update insert & update API

* Update test cases

* Update README

* Fix clippy warnings

* Fixup

* Fixup
2021-12-18 14:30:10 +08:00
Billy Chan
acf8eac441
Show tracing log only when test failed 2021-12-17 12:52:33 +08:00
Billy Chan
006d35313b
Fix clippy warnings 2021-12-17 11:39:53 +08:00
Billy Chan
4072e74284
cargo fmt 2021-12-17 11:14:54 +08:00
Chris Tsang
67a601ecca
Merge pull request #384 from Gabriel-Paulucci/master
Fix rocket version
2021-12-15 13:53:30 +08:00
Chris Tsang
4bcc8a24a2
Merge pull request #383 from ttys3/axum_example_v0.4.2
Axum example: update to Axum v0.4.2
2021-12-15 13:50:34 +08:00
Billy Chan
b2549576bc
Fix rocket_example 2021-12-15 12:25:12 +08:00
Gabriel-Paulucci
edf26efd6a Fix rocket version 2021-12-14 19:43:36 -03:00
荒野無燈
951e678da5
refactor: update to Axum v0.4.2
Refs: https://github.com/tokio-rs/axum/blob/main/axum/CHANGELOG.md#042-06-december-2021
2021-12-15 02:59:17 +08:00
Billy Chan
f5f6a6774f
Codegen ActiveEnum & Create Enum From ActiveEnum (#348) 2021-12-15 00:52:50 +08:00
Chris Tsang
9ef44be422
Merge pull request #370 from SeaQL/bump-query-dep-to-pr-202 2021-12-15 00:50:53 +08:00
Chris Tsang
7da5b6bf90
Merge pull request #373 from nappa85/master 2021-12-15 00:49:52 +08:00
Billy Chan
66a005237c
Update sea-orm to depends on sea-query 0.20.0 2021-12-12 23:03:11 +08:00
Chris Tsang
5656c4981d 0.4.2 2021-12-12 22:55:11 +08:00
Chris Tsang
7327a00cb2 sea-orm-macros 0.4.2 2021-12-12 22:48:03 +08:00
Chris Tsang
0ea4f4e940 sea-orm-cli 0.4.2 2021-12-12 22:46:18 +08:00
Chris Tsang
6767e8b834 sea-orm-codegen 0.4.2 2021-12-12 22:45:34 +08:00
Chris Tsang
6cecc4e61f
Merge pull request #360 from caido/feat/column-table-iden
Add feature to generate table Iden
2021-12-12 22:23:31 +08:00
Chris Tsang
b3310e64dd
Merge pull request #379 from SeaQL/issues/344-temp-fix
Temporary Fix: Handling MySQL & SQLite timestamp columns
2021-12-12 14:47:31 +08:00
Chris Tsang
8db9d10c12 Bump sea-query 2021-12-11 14:26:18 +08:00
Billy Chan
b9fe878542 Handling MySQL & SQLite timestamp columns 2021-12-11 14:25:45 +08:00
Billy Chan
a9f6275a9e Run timestamp_tests for all databases 2021-12-11 14:25:45 +08:00
Billy Chan
0f164b62d5
Fix related & linked with enum columns (#376)
* Fix related & linked with enum columns

* Add test cases
2021-12-10 23:41:43 +08:00
Marco Napetti
9a342546f3 use macro to simplify code, add failure boolean 2021-12-10 10:09:09 +01:00
Marco Napetti
aaf11dd265 Into doesn't works 2021-12-09 19:17:41 +01:00
Marco Napetti
4abe8310a5 Per-connection metric 2021-12-09 19:03:46 +01:00
Marco Napetti
8ad9781a3f Remove debug features 2021-12-09 16:20:53 +01:00
Marco Napetti
6b94673dd9 First metric and tracing implementation 2021-12-09 15:12:41 +01:00
Chris Tsang
18ed683712
Merge pull request #363 from SeaQL/issues/362
`Delete::many()` with `TableRef`
2021-12-09 10:09:43 +08:00
Emile Fugulin
aaec1bc845 Use attribute instead of compilation flag 2021-12-08 13:50:34 -05:00
Billy Chan
1aea3f6c6c
Delete::many with TableRef 2021-12-08 15:56:37 +08:00
Billy Chan
2e26fa3873
Fix clippy warnings 2021-12-07 22:41:27 +08:00
Billy Chan
90122374aa
Add test cases [issues] 2021-12-07 16:13:25 +08:00
Emile Fugulin
f04ef378c6 Add feature to generate table Iden 2021-12-04 12:05:24 -05:00
Chris Tsang
871a5e8de6 0.4.1 2021-12-05 00:18:12 +08:00
Chris Tsang
67b75fe680 sea-orm-macros 0.4.1 2021-12-05 00:15:54 +08:00
Chris Tsang
4dcc44dfb8 sea-orm-cli 0.4.1 2021-12-05 00:13:50 +08:00
Chris Tsang
f2273eac71 sea-orm-codegen 0.4.1 2021-12-05 00:13:03 +08:00
Chris Tsang
b5bdb683ee Bump sea-query 2021-12-04 21:56:34 +08:00
Billy Chan
ccb8b95324
Codegen Handle Self Referencing & Multiple Relations to the Same Related Entity (#347)
* [sea-orm-codegen] handle self referencing relation & multiple relations to the same related entity

* Test [cli]

* Test [cli]
2021-12-04 21:22:10 +08:00
Billy Chan
1229287fd8
Support Up to 6 Values Composite Primary Key (#353)
* Support up to 6 composite primary key

* Test [issues]

* Test [issues]
2021-12-04 20:57:05 +08:00
Billy Chan
41e345c3a8
Merge pull request #355 from SeaQL/pulls/355
For some reason the `axum_example` fail to compile
2021-12-03 18:20:35 +08:00
Billy Chan
d3acf4b156
Update tower-cookies dependency 2021-12-03 18:10:26 +08:00
Billy Chan
bf499ededd
Revert 2021-12-03 18:10:00 +08:00
Billy Chan
2c8fd38348
For some reason the axum_example fail to compile 2021-12-03 16:50:57 +08:00
lz1998
273dc0dd1a
add offset and limit (#351)
* add offset and limit

* move offset&limit to QuerySelect
2021-12-03 01:12:49 +08:00
Chris Tsang
cc4904993a Readme 2021-11-24 00:56:01 +08:00