563 Commits

Author SHA1 Message Date
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
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
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
Chris Tsang
03d90d8630 Docs 2021-11-09 16:21:12 +08:00
Chris Tsang
3df0b941c8
Merge pull request #258 from SeaQL/active-enum
Enumeration
2021-11-08 15:53:25 +08:00
Chris Tsang
0d4a237d1c Readme badges 2021-11-08 13:48:05 +08:00
Billy Chan
47e2486ead
Refactoring 2021-11-05 16:25:55 +08:00
Billy Chan
10f3de0f9d
Only eq & ne operators with enum casting 2021-11-05 11:13:31 +08:00
Chris Tsang
6a0db92c8b #290 Add option to disable SQLx logging 2021-11-04 23:36:56 +08:00
Billy Chan
67bb168e49
Correctly apply filters on enum columns 2021-11-04 11:40:05 +08:00
Billy Chan
2b841b1b5d
Refactoring 2021-11-04 10:49:50 +08:00
Billy Chan
bb78a1d709
More ergonomic DeriveActiveEnum derive macro 2021-11-03 15:38:42 +08:00
Billy Chan
0bbb50b7f6
Merge remote-tracking branch 'origin/master' into active-enum 2021-11-03 10:52:29 +08:00
Billy Chan
892c0fe57d
Support Vec<u8> primary key 2021-11-02 15:20:27 +08:00
Billy Chan
7309f8a624
cargo fmt 2021-11-02 14:39:45 +08:00
Billy Chan
858e1e047d
Update docs 2021-11-02 14:34:08 +08:00
Billy Chan
158893c540
Enable missing_docs lint 2021-11-02 14:31:28 +08:00
Billy Chan
65542301da
Add docs 2021-11-02 14:25:18 +08:00
Billy Chan
6018d3f1b9
Merge remote-tracking branch 'origin/master' into active-enum 2021-11-02 12:18:37 +08:00
Billy Chan
fcf3ea9407
Try fixing some doctest errors 2021-10-31 14:40:36 +08:00
Charles Chege
30814f0053 Provide further exaplanation for
pub struct ActiveValue<V>

Add a code snippet for a simple example
2021-10-31 09:03:02 +03:00
Charles Chege
a22350914c Solutions for doc tests 2021-10-30 18:55:53 +03:00
Charles Chege
870ca3ffb0 Run fmt --all 2021-10-30 12:00:07 +03:00
Charles Chege
e0023611a2 Improve documentation for the drivers and the entity
Provide module level code example on how to create an Entity, Model, ActiveModel, Column and PrimaryKey
2021-10-30 11:15:43 +03:00
Charles Chege
a1382b1b41 Fix merge conflicts from SeaQL/sea-orm master branch 2021-10-29 10:44:09 +03:00
Charles Chege
037eab974e Document the utils module 2021-10-29 10:40:39 +03:00
Charles Chege
f21492bf60 Document the error module 2021-10-29 10:40:16 +03:00
Charles Chege
e4d115b5b0 Document the database drivers 2021-10-29 10:39:37 +03:00
Charles Chege
db098d1a03 Documetation for the entity module 2021-10-29 10:39:16 +03:00
Charles Chege
817e9bdd23 Documetation for the executor module 2021-10-29 10:38:55 +03:00
Charles Chege
a9b6f8cc83 Documetation for the query module 2021-10-29 10:38:30 +03:00
Charles Chege
69d5c701ee Documetation for the schema module 2021-10-29 10:37:54 +03:00
Charles Chege
91b9e542af Documetation for the database modeule 2021-10-29 10:37:10 +03:00
Chris Tsang
8338c23341 Do not override max_connections for SQLite 2021-10-29 14:24:54 +08:00
Charles Chege
642994a194 Documentation for the stream module 2021-10-28 15:49:28 +03:00
Billy Chan
e21af53374
Fix clippy warnings 2021-10-27 15:23:21 +08:00
Billy Chan
fe64d53b45
Merge remote-tracking branch 'origin/master' into active-enum 2021-10-27 13:24:35 +08:00
Billy Chan
55de1968bb
Add create_enum_from_entity 2021-10-27 12:37:35 +08:00