1169 Commits

Author SHA1 Message Date
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
Chris Tsang
18ed683712
Merge pull request #363 from SeaQL/issues/362
`Delete::many()` with `TableRef`
2021-12-09 10:09:43 +08:00
Billy Chan
1aea3f6c6c
Delete::many with TableRef 2021-12-08 15:56:37 +08: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
Billy Chan
2dea2670fe
Merge pull request #331 from kev0960/master
Add TryFromU64 trait for `DateTime<FixedOffset>`.
2021-11-23 10:19:34 +08:00
Jaebum Lee
bc952b3787 Add TryFromU64 trait for DateTime<FixedOffset>.
The timestamp column (with time zone) generates the field with `chrono::DateTime<chrono::FixedOffset>`.
Sadly, `DeriveEntityModel` macro fails because `TryFromU64` is not implemented for this type.

I added the trivial implementation for `chrono::DateTime<chrono::FixedOffset>`.
2021-11-21 23:36:13 -08:00
Chris Tsang
d952a3e42a Readme 2021-11-21 17:57:33 +08:00
Chris Tsang
af3632de11 New tagline 2021-11-21 17:46:47 +08:00
Chris Tsang
12672860e2 Edit 2021-11-19 23:54:37 +08:00
Chris Tsang
49ef619619 Update examples 2021-11-19 23:29:15 +08:00
Chris Tsang
01f005289a 0.4.0 2021-11-19 23:11:33 +08:00
Chris Tsang
6ec3883bc1 sea-orm-macros 0.4.0 2021-11-19 23:06:19 +08:00
Chris Tsang
6330b54bc7 sea-orm-cli 0.4.0 2021-11-19 23:04:32 +08:00
Chris Tsang
c78fa48fff sea-orm-codegen 0.4.0 2021-11-19 23:03:48 +08:00
Chris Tsang
c2b8cbb942 Edit 2021-11-19 18:41:50 +08:00
Billy Chan
846e73f0ac
Changelog 0.4.0 (#326)
* CHANGELOG 0.3.2

* CHANGELOG 0.4.0
2021-11-19 18:16:55 +08:00
Billy Chan
2520ee4070
Use sea-query 0.19.0 2021-11-19 15:03:04 +08:00
Billy Chan
65f9c70dd3
cargo fmt 2021-11-18 18:07:24 +08:00
Billy Chan
f72f65a4d4
Refactor test case 2021-11-18 18:07:09 +08:00
Billy Chan
b2985a97c8
Displaying sponsor button 2021-11-18 10:59:47 +08:00
Billy Chan
0e4221bd72
Refactoring 2021-11-17 21:24:06 +08:00
Chris Tsang
0deedddf28
Merge pull request #292 from SeaQL/returning
Returning
2021-11-17 17:41:28 +08:00
Chris Tsang
aff988bd94
Merge pull request #324 from SeaQL/hotfix-custom-types
Unknown types could be a newtypes instead of `ActiveEnum`
2021-11-17 16:47:28 +08:00
Chris Tsang
a81fb10928 Revert sea-query 2021-11-17 16:34:30 +08:00
Chris Tsang
52bd28b6e1
Merge pull request #318 from josh-codes/sea-orm-table-ref
Pass the argument `entity.table_ref()` instead of just `entity`.
2021-11-17 15:37:42 +08:00
Billy Chan
a8ff8935f6
Undo sea-query dep changes 2021-11-17 15:18:40 +08:00
Billy Chan
0f904e02f0
Refactoring 2021-11-17 10:38:02 +08:00
Josh
c25fcb601e
Undo changes 2021-11-16 10:55:30 +00:00
Josh
a9de2b94f9
Chnage editon from 2021 to 2018 2021-11-16 10:53:09 +00:00
Josh
bd67927b15
Change the version 2021-11-16 10:51:37 +00:00
Billy Chan
cef51ddd3f
Use SeaQL/sea-query#188 2021-11-16 18:45:21 +08:00
Billy Chan
f809242c1f
Test [issues] 2021-11-16 18:40:37 +08:00
Billy Chan
42404eb525
Fixup 2021-11-16 17:56:22 +08:00
Billy Chan
7298fdeda9
Rewrite doctests 2021-11-16 17:35:49 +08:00
Billy Chan
f9d04fc73f
Hotfix - separate counter for mock exec & query 2021-11-16 17:21:44 +08:00
Billy Chan
4c147a2d24
Rewrite doctests 2021-11-16 16:27:54 +08:00
Billy Chan
9655805316
Will fail, as expected 2021-11-16 15:54:17 +08:00
Billy Chan
d5de8b1c48
Should fail 2021-11-16 15:38:22 +08:00