12 Commits

Author SHA1 Message Date
Billy Chan
29deb0dfd1
Better compile error for entity without primary key (#1020) 2022-10-06 23:50:39 +08:00
Billy Chan
5a123b36aa
DerivePrimaryKey with custom primary key column name (#694)
* `DerivePrimaryKey` with custom primary key column name

* Add test cases [issues]
2022-05-09 22:00:04 +08:00
Charles Chege
497bdbe3dd Document the macros.
Add code examples for the macros
2021-10-28 15:46:38 +03:00
Billy Chan
864ec522b8 Add #[automatically_derived] to all derived implementations 2021-10-15 21:25:31 +08:00
Chris Tsang
71d0cde771 PrimaryKey auto_increment 2021-06-12 19:18:14 +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
c65cb9687b Refactor Trait bounds 2021-06-02 19:09:00 +08:00
Chris Tsang
2bfc7f9a9f expend -> expand 2021-05-27 22:27:08 +08:00
Billy Chan
8d92e09858
Derive macros traits with crate name 2021-05-18 18:43:14 +08:00
Chris Tsang
62b3c37e20 cargo fmt 2021-05-17 19:51:26 +08:00
Billy Chan
07b58551af
Add proc_macro 2021-05-17 16:59:34 +08:00