868 Commits

Author SHA1 Message Date
Billy Chan
4072e74284
cargo fmt 2021-12-17 11:14:54 +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
Billy Chan
b9fe878542 Handling MySQL & SQLite timestamp columns 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
6b94673dd9 First metric and tracing implementation 2021-12-09 15:12:41 +01:00
Billy Chan
1aea3f6c6c
Delete::many with TableRef 2021-12-08 15:56:37 +08:00
Billy Chan
af1ffdad83
Rename sea-strum lib back to strum 2021-12-07 17:21:03 +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
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
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
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
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
Billy Chan
0f904e02f0
Refactoring 2021-11-17 10:38:02 +08:00
Billy Chan
cef51ddd3f
Use SeaQL/sea-query#188 2021-11-16 18:45:21 +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
Billy Chan
fd50ffd5ea
Merge remote-tracking branch 'origin/master' into returning 2021-11-16 14:44:12 +08:00
Billy Chan
36886e74cd
Testing & fixup 2021-11-16 12:04:21 +08:00
Josh
2b87a8ba32 Pass the argument entity.table_ref() instead of just entity. 2021-11-15 17:10:02 +08:00
Billy Chan
f4008f9f7c
Suppress ouroboros missing docs warnings (#288)
* Suppress `ouroboros` missing docs warnings

* Suppress warnings
2021-11-15 11:14:32 +08:00
Chris Tsang
5f768aa436
Merge pull request #312 from SeaQL/detailed-conn-errors
Detailed connection errors
2021-11-15 10:47:50 +08:00
Chris Tsang
d66538d7bc Edit docs 2021-11-14 20:54:15 +08:00
Chris Tsang
aaf6c2555d Refactor and add stream() to SelectorRaw 2021-11-14 20:49:04 +08:00
Chris Tsang
5f2fa55253 Edit docs 2021-11-14 16:58:52 +08:00
Billy Chan
da705f6629
Detailed connection errors 2021-11-11 16:58:11 +08:00
Billy Chan
f504ad1eef
Refactor Schema 2021-11-11 15:11:52 +08:00
Billy Chan
4d44827d2f
Docs 2021-11-11 13:30:36 +08:00
Billy Chan
a95d99e186
Refactoring 2021-11-11 12:12:53 +08:00
Billy Chan
9c1646b198
Fixup 2021-11-10 15:53:37 +08:00
Billy Chan
ac804a1642
Imports PaginatorTrait by default making it backward compatible 2021-11-10 15:26:29 +08:00
Billy Chan
1905f62430
cargo fmt 2021-11-10 14:58:06 +08:00
Billy Chan
66c23c85db
Revert MySQL & SQLite returning support 2021-11-10 14:42:19 +08:00
jasper
05181994d3 Move count to PaginatorTrait 2021-11-10 08:57:05 +08:00
jasper
23498892b0 Add PaginatorTrait and CountTrait 2021-11-09 21:33:55 +08:00
Billy Chan
cc035d7aa7
Refactoring 2021-11-09 18:14:13 +08:00