Marco Napetti
|
5567fbc289
|
Fix auto_increment as boolean
|
2021-09-07 23:06:19 +08:00 |
|
Chris Tsang
|
a186338ff5
|
Try DeriveRelation
|
2021-09-07 22:54:39 +08:00 |
|
Ari Seyhun
|
0f0d5b52b4
|
Add DeriveRelation
|
2021-09-07 22:12:23 +08:00 |
|
Ari Seyhun
|
290f78454b
|
Rewrite DeriveModel
|
2021-09-07 22:08:57 +08:00 |
|
Chris Tsang
|
46d9fd30e6
|
Try DeriveEntity
|
2021-09-07 22:08:57 +08:00 |
|
Ari Seyhun
|
455fc4a934
|
Rewrite DeriveEntity
|
2021-09-07 22:08:57 +08:00 |
|
Chris Tsang
|
0fff7fd054
|
Rename to DeriveEntityModel
|
2021-09-07 20:37:51 +08:00 |
|
Chris Tsang
|
022bee0627
|
cargo fmt
|
2021-09-07 20:37:51 +08:00 |
|
Marco Napetti
|
d4a915616a
|
Fix example
|
2021-09-07 10:38:42 +02:00 |
|
Marco Napetti
|
abcdbf2a48
|
Manage PrimaryKeyTrait::ValueType
|
2021-09-07 10:18:37 +02:00 |
|
Marco Napetti
|
a4d70dfa55
|
Merge branch 'entity-format' into entity_model_macro
|
2021-09-07 10:09:34 +02:00 |
|
Marco Napetti
|
c273cf0a39
|
Manage schema_name attribute, add prelude export, update example
|
2021-09-07 10:04:33 +02:00 |
|
Marco Napetti
|
a4b4f4925f
|
Minor comments fixes
|
2021-09-06 12:58:47 +02:00 |
|
Marco Napetti
|
ab925e8f11
|
Manage auto_increment attribute, call nullable() instead of old null()
|
2021-09-06 12:41:09 +02:00 |
|
Marco Napetti
|
cc2f491a1e
|
Remove panic
|
2021-09-06 12:21:21 +02:00 |
|
Marco Napetti
|
0eb6902d1b
|
default_value and default_expr hypotetical implementation
|
2021-09-06 12:02:15 +02:00 |
|
Marco Napetti
|
5179fb257a
|
Add indexed and unique support
|
2021-09-06 11:25:05 +02:00 |
|
Marco Napetti
|
8d8b3e7813
|
Split-up macro
|
2021-09-06 11:14:00 +02:00 |
|
Marco Napetti
|
193cd5a29d
|
Start working on EntityModel macro
|
2021-09-05 12:41:54 +02:00 |
|
Billy Chan
|
9d5ce08ff8
|
Logging
|
2021-09-03 14:27:38 +08:00 |
|
Chris Tsang
|
e5f290380a
|
Use ColumnFromStrErr
|
2021-08-23 01:06:25 +08:00 |
|
Chris Tsang
|
332ab3ccf5
|
Remove derive PartialEq
|
2021-08-22 22:15:40 +08:00 |
|
Ari Seyhun
|
46a4cafaa9
|
Implement FromStr for DeriveColumn
|
2021-08-22 02:00:20 +08:00 |
|
Billy Chan
|
09c328bb0d
|
Use smol async-runtime and require one of the supported runtime for integration tests
|
2021-08-21 22:56:48 +08:00 |
|
Billy Chan
|
2cfaa34a33
|
Test against all supported runtime
|
2021-08-21 22:56:48 +08:00 |
|
Billy Chan
|
69b0ae1177
|
Custom column names with default
|
2021-08-13 21:39:50 +08:00 |
|
Billy Chan
|
8b30ef74a2
|
Customize column names
|
2021-08-12 22:53:22 +08:00 |
|
Chris Tsang
|
1e6a778a0f
|
ValueType does not need to impl Default
|
2021-07-12 02:48:37 +08:00 |
|
Chris Tsang
|
0298cfb6af
|
Rename to DbErr
|
2021-06-30 21:17:23 +08:00 |
|
Billy Chan
|
2a1173c174
|
Add & use OrmError (#36)
* Add & use OrmError
* Rename to SeaErr
|
2021-06-30 21:08:41 +08:00 |
|
Chris Tsang
|
7158e78f65
|
Basic test suite (sqlite)
|
2021-06-20 23:05:05 +08:00 |
|
Chris Tsang
|
5002c62b40
|
Use DatabaseConnection in place of Database
|
2021-06-19 17:28:07 +08:00 |
|
Chris Tsang
|
71d0cde771
|
PrimaryKey auto_increment
|
2021-06-12 19:18:14 +08:00 |
|
Chris Tsang
|
5069f92001
|
Delete and example
|
2021-06-11 23:10:56 +08:00 |
|
Chris Tsang
|
c70c941712
|
Refactor Insert one & many
|
2021-06-10 01:47:45 +08:00 |
|
Chris Tsang
|
05ccb1b644
|
Tweak ActiveModelBehavior
|
2021-06-06 16:06:05 +08:00 |
|
Chris Tsang
|
890464f913
|
Save custom ActiveModel
|
2021-06-05 22:17:22 +08:00 |
|
Chris Tsang
|
cf0127d89f
|
Save ActiveModel
|
2021-06-05 20:30:32 +08:00 |
|
Chris Tsang
|
93daf55cda
|
Refactor EntityName
|
2021-06-04 00:37:39 +08:00 |
|
Chris Tsang
|
6a26b8cc17
|
ActiveModelBehavior
|
2021-06-03 18:57:26 +08:00 |
|
Chris Tsang
|
c711d83e32
|
Refactor PrimaryKeyTrait
|
2021-06-03 02:49:36 +08:00 |
|
Chris Tsang
|
f706eb261d
|
Update Statement
|
2021-06-02 23:59:44 +08:00 |
|
Chris Tsang
|
2169d1284f
|
Refactor ActiveModelTrait
|
2021-06-02 22:35:17 +08:00 |
|
Chris Tsang
|
a746f8b863
|
Refactor ModelTrait
|
2021-06-02 22:23:10 +08:00 |
|
Chris Tsang
|
c65cb9687b
|
Refactor Trait bounds
|
2021-06-02 19:09:00 +08:00 |
|
Chris Tsang
|
fcc668399d
|
Insert many
|
2021-05-30 18:38:11 +08:00 |
|
Chris Tsang
|
ea091d7438
|
ActiveValueState::Unchanged
|
2021-05-29 02:02:51 +08:00 |
|
Chris Tsang
|
b1afd5da3e
|
ActiveValue
|
2021-05-28 13:09:31 +08:00 |
|
Chris Tsang
|
d3ee74cbe5
|
Insert POC
|
2021-05-28 00:38:34 +08:00 |
|
Chris Tsang
|
2bfc7f9a9f
|
expend -> expand
|
2021-05-27 22:27:08 +08:00 |
|