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
Billy Chan
c1fae1bc86
Debug print
2021-11-09 16:54:29 +08:00
Chris Tsang
03d90d8630
Docs
2021-11-09 16:21:12 +08:00
Billy Chan
ec637b26a0
Returning support for SQLite
2021-11-09 16:10:52 +08:00
Billy Chan
533c3cf175
Try
2021-11-09 15:38:28 +08:00
Billy Chan
24fab66d17
Try
2021-11-09 12:11:00 +08:00
Billy Chan
429b920ded
Fixup
2021-11-09 11:05:55 +08:00
Billy Chan
3e6423aa8a
This will fail loll
2021-11-08 22:55:00 +08:00
Billy Chan
17232063b3
This will fail loll
2021-11-08 22:29:18 +08:00
Billy Chan
afdb1afeb8
This will fail loll
2021-11-08 22:12:09 +08:00
Billy Chan
2f0ac4ca1d
Fixup
2021-11-08 20:11:44 +08:00
Billy Chan
30f43b64c6
Fixup
2021-11-08 19:03:06 +08:00
Billy Chan
80c0d69733
Merge remote-tracking branch 'origin/master' into returning
2021-11-08 17:37:54 +08:00
Billy Chan
0eafacc2a1
Try returning on MariaDB
2021-11-08 17:36:30 +08:00
Chris Tsang
3df0b941c8
Merge pull request #258 from SeaQL/active-enum
...
Enumeration
2021-11-08 15:53:25 +08:00
Billy Chan
732d080020
Update docs
2021-11-08 15:24:51 +08:00
Billy Chan
2f7cffa74d
Fix test cases
2021-11-08 15:12:56 +08:00