187 Commits

Author SHA1 Message Date
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
22b4b14a64 Publish sea-orm-macros 2021-08-08 01:43:29 +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
91023d06c5 Codegen: update ColumnDef 2021-06-19 20:53:08 +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
Billy Chan
7aaeef834c
Move to separate DeriveActiveModel, cargo fmt 2021-05-25 18:27:44 +08:00
Billy Chan
bbe80fa873
ActiveModel derive macro 2021-05-25 10:42:49 +08:00
Chris Tsang
ec116762a8 cargo fmt 2021-05-19 21:51:11 +08:00
Chris Tsang
0c4b69e3b3 impl EntityTrait 2021-05-19 20:07:57 +08:00
Billy Chan
f8e3651517
Typo 2021-05-18 18:46:46 +08:00
Billy Chan
8d92e09858
Derive macros traits with crate name 2021-05-18 18:43:14 +08:00
Chris Tsang
682d2151fc Entity attr as "table" 2021-05-17 19:55:46 +08:00
Chris Tsang
62b3c37e20 cargo fmt 2021-05-17 19:51:26 +08:00
Chris Tsang
106bb20cb5 Derive FromQueryResult 2021-05-17 19:48:53 +08:00
Billy Chan
07b58551af
Add proc_macro 2021-05-17 16:59:34 +08:00