Commit Graph

  • f3e30de7b0 Diesel Chris Tsang 2021-06-23 23:13:22 +08:00
  • 9a25bb9c36
    Use belongs_to, has_one and has_many Billy Chan 2021-06-22 23:42:10 +08:00
  • 83e4859776
    codegen ColumnDef null() and unique() Billy Chan 2021-06-22 22:40:43 +08:00
  • 54bc3f2645 New logo & banner Chris Tsang 2021-06-22 22:27:36 +08:00
  • cbf16102c0 has_one and belongs_to Chris Tsang 2021-06-22 15:52:22 +08:00
  • a60c2da701 Tag line Chris Tsang 2021-06-22 02:47:26 +08:00
  • ad3fb45253 cargo fmt Chris Tsang 2021-06-22 01:30:26 +08:00
  • d77a7c8ab4 Has many relation to be auto defined Chris Tsang 2021-06-22 01:30:21 +08:00
  • 72408eedfc Fix GitHub Action Chris Tsang 2021-06-20 23:13:53 +08:00
  • 092b50eec3 GitHub Action Chris Tsang 2021-06-20 23:10:47 +08:00
  • 7158e78f65 Basic test suite (sqlite) Chris Tsang 2021-06-20 23:05:05 +08:00
  • ec290156c5 SQLx SQLite support Chris Tsang 2021-06-20 23:03:12 +08:00
  • cdc8056d4b Stub API Chris Tsang 2021-06-20 16:23:49 +08:00
  • 8eaf7868c4 Design Chris Tsang 2021-06-19 21:30:52 +08:00
  • 564c6ed1a2 ColumnDef Chris Tsang 2021-06-19 21:06:12 +08:00
  • 91023d06c5 Codegen: update ColumnDef Chris Tsang 2021-06-19 20:22:35 +08:00
  • cab4b5a3f7
    Codegen: Entity Generator (#23) Billy Chan 2021-06-19 19:47:59 +08:00
  • 0b3ea685d5 ColumnDef with builder API to replace sea_query::ColumnType in Entity def Chris Tsang 2021-06-19 18:42:26 +08:00
  • e5ff92dc1d DbConn alias Chris Tsang 2021-06-19 17:33:14 +08:00
  • 5002c62b40 Use DatabaseConnection in place of Database Chris Tsang 2021-06-19 17:25:51 +08:00
  • 5d84c88ccd Fix example Chris Tsang 2021-06-19 16:59:26 +08:00
  • 041d28aa26 Refactor Chris Tsang 2021-06-19 16:49:37 +08:00
  • f9ba6eeb1f Transaction Chris Tsang 2021-06-19 16:41:47 +08:00
  • ddcdd33bd5 Fix clippy warnings Chris Tsang 2021-06-19 02:49:56 +08:00
  • 820bbad9de impl IntoMockRow Chris Tsang 2021-06-19 02:47:36 +08:00
  • f4611c4939 Refactor Chris Tsang 2021-06-19 02:24:45 +08:00
  • 62fb43c605
    Add unit test for pagination (#20) Billy Chan 2021-06-18 23:43:07 +08:00
  • 9058089dc8 Rename find_by to find_by_id Chris Tsang 2021-06-16 17:39:22 +08:00
  • d8902ba979 Refactor example Chris Tsang 2021-06-16 17:28:52 +08:00
  • 97faaf0f34 LICENSE Chris Tsang 2021-06-14 23:58:53 +08:00
  • 98ab733578 Diesel Chris Tsang 2021-06-14 23:38:02 +08:00
  • 60fd9061bd ColumnDef TODO Chris Tsang 2021-06-14 21:00:44 +08:00
  • 5c3bd08b99 For verification Chris Tsang 2021-06-13 23:58:01 +08:00
  • faffc518ae Mock test case Chris Tsang 2021-06-13 23:38:21 +08:00
  • 6b7ea75393 Mock Database Connection Chris Tsang 2021-06-13 22:09:07 +08:00
  • da545c266c Comments Chris Tsang 2021-06-12 19:48:43 +08:00
  • 71d0cde771 PrimaryKey auto_increment Chris Tsang 2021-06-12 19:03:29 +08:00
  • 991b04580c ActiveModel before_delete Chris Tsang 2021-06-12 18:40:16 +08:00
  • b762325534 Rename file Chris Tsang 2021-06-12 18:13:12 +08:00
  • f64f947f21 Move code Chris Tsang 2021-06-12 17:16:14 +08:00
  • c7057ab964 Organize code Chris Tsang 2021-06-12 17:03:28 +08:00
  • 981a5f731d Move code Chris Tsang 2021-06-12 16:51:42 +08:00
  • 5069f92001 Delete and example Chris Tsang 2021-06-11 23:04:41 +08:00
  • 162f6f4331 cargo fmt Chris Tsang 2021-06-11 20:10:06 +08:00
  • ff9e351ef1 Delete Statement Chris Tsang 2021-06-11 20:09:15 +08:00
  • 398e1f0913 From sqlx pool Chris Tsang 2021-06-11 15:48:26 +08:00
  • 9beca86617 Lint ideas Chris Tsang 2021-06-10 12:12:51 +08:00
  • e9f6d7af08 Fix clippy warmings #13 Billy Chan 2021-06-09 23:14:30 +08:00
  • 7e832e9a69 Diesel Chris Tsang 2021-06-10 02:15:44 +08:00
  • 98f6b88c9b Update many Chris Tsang 2021-06-10 02:13:10 +08:00
  • e6309c54b3 Doc tests Chris Tsang 2021-06-10 02:07:26 +08:00
  • c70c941712 Refactor Insert one & many Chris Tsang 2021-06-10 01:45:59 +08:00
  • 8acba47a69 Doc tests Chris Tsang 2021-06-10 00:37:33 +08:00
  • 00cad59a0e Update Many Chris Tsang 2021-06-10 00:07:35 +08:00
  • 6809e6ec17 Diesel Chris Tsang 2021-06-09 02:21:16 +08:00
  • 0f7c181d41 And Having Chris Tsang 2021-06-08 22:30:00 +08:00
  • b308486192 Refactor Query traits Chris Tsang 2021-06-08 22:10:27 +08:00
  • f26e95c9e3 Use SeaRc Chris Tsang 2021-06-07 21:19:11 +08:00
  • b65f2f9b90 Tweak Chris Tsang 2021-06-07 20:04:56 +08:00
  • 010c4e8cb8 Notes Chris Tsang 2021-06-07 19:25:37 +08:00
  • ec1fd72364
    Hotfix - paginator use cloned query Billy Chan 2021-06-07 10:10:32 +08:00
  • cf5b772cdd More fruits Chris Tsang 2021-06-06 23:35:29 +08:00
  • bd9dfbdf37 cargo fmt Chris Tsang 2021-06-06 23:21:02 +08:00
  • 2e512334a9 Mutability Chris Tsang 2021-06-06 23:20:54 +08:00
  • 06d755513e Docs Chris Tsang 2021-06-06 23:15:42 +08:00
  • 42f1013958 Added cur_page Chris Tsang 2021-06-06 23:07:09 +08:00
  • b148c3906d Make Val looks like enum variants Chris Tsang 2021-06-06 22:58:31 +08:00
  • b818138724 cargo fmt Chris Tsang 2021-06-06 22:42:53 +08:00
  • 937af05003
    Paginator API (#10) Billy Chan 2021-06-06 22:30:54 +08:00
  • 49ed8b43c7 Tweaks Chris Tsang 2021-06-06 18:45:16 +08:00
  • 5e0176ef1a Simplify example Chris Tsang 2021-06-06 18:30:59 +08:00
  • 989845f422 Tweaks Chris Tsang 2021-06-06 18:13:53 +08:00
  • df3e44a7b0 Banner Chris Tsang 2021-06-06 16:22:28 +08:00
  • 05ccb1b644 Tweak ActiveModelBehavior Chris Tsang 2021-06-06 16:06:05 +08:00
  • 6caf530d21 Remove unused Chris Tsang 2021-06-06 00:30:52 +08:00
  • 58349ee68b Example Chris Tsang 2021-06-06 00:02:36 +08:00
  • 744d62a310 Change one() to return Option<Model> Chris Tsang 2021-06-05 23:44:11 +08:00
  • 1a52e64572 More examples Chris Tsang 2021-06-05 23:13:31 +08:00
  • 890464f913 Save custom ActiveModel Chris Tsang 2021-06-05 21:36:33 +08:00
  • cf0127d89f Save ActiveModel Chris Tsang 2021-06-05 20:24:32 +08:00
  • f433872c0a Refactor example Chris Tsang 2021-06-05 19:54:36 +08:00
  • eafb4a33d0 Readme Chris Tsang 2021-06-05 15:20:25 +08:00
  • 93daf55cda Refactor EntityName Chris Tsang 2021-06-04 00:33:59 +08:00
  • 6a26b8cc17 ActiveModelBehavior Chris Tsang 2021-06-03 13:07:35 +08:00
  • c482b0cbc6 Update Entity Chris Tsang 2021-06-03 12:36:30 +08:00
  • 4bc7e5da33 Move tests to docs Chris Tsang 2021-06-03 12:21:36 +08:00
  • c711d83e32 Refactor PrimaryKeyTrait Chris Tsang 2021-06-03 02:48:44 +08:00
  • f706eb261d Update Statement Chris Tsang 2021-06-02 23:46:08 +08:00
  • 2169d1284f Refactor ActiveModelTrait Chris Tsang 2021-06-02 22:35:17 +08:00
  • a746f8b863 Refactor ModelTrait Chris Tsang 2021-06-02 21:17:01 +08:00
  • c65cb9687b Refactor Trait bounds Chris Tsang 2021-06-02 19:09:00 +08:00
  • 2fc4520ee8 Refactor Query as traits Chris Tsang 2021-06-02 00:35:51 +08:00
  • c45a4bb376 impl QueryTrait for Select Chris Tsang 2021-06-01 18:19:29 +08:00
  • 89c743d5a7 QueryTrait Chris Tsang 2021-06-01 18:08:18 +08:00
  • ba1eef1671 Move files Chris Tsang 2021-06-01 17:32:23 +08:00
  • 8a1329a7b5 SelectHelper Chris Tsang 2021-06-01 17:31:32 +08:00
  • e66cfd1ab1 Inserter Chris Tsang 2021-05-31 23:37:37 +08:00
  • 48a5500670 Refactor ActiveValue Chris Tsang 2021-05-30 18:49:29 +08:00
  • fcc668399d Insert many Chris Tsang 2021-05-30 18:38:11 +08:00
  • ea091d7438 ActiveValueState::Unchanged Chris Tsang 2021-05-29 02:02:51 +08:00