112 Commits

Author SHA1 Message Date
Chris Tsang
820bbad9de impl IntoMockRow 2021-06-19 02:47:36 +08:00
Chris Tsang
f4611c4939 Refactor 2021-06-19 02:24:45 +08:00
Billy Chan
62fb43c605
Add unit test for pagination (#20)
* Add unit test for pagination

* End with empty page

* Add more test cases

* Assert transaction log

* Test utils

* Feature gated

* IntoMockRow, derive macro with into MockRow

* Revert derive macro

* WIP

* WIP

* assert_transaction_log
2021-06-18 23:43:07 +08:00
Chris Tsang
5c3bd08b99 For verification 2021-06-13 23:58:01 +08:00
Chris Tsang
faffc518ae Mock test case 2021-06-13 23:38:21 +08:00
Chris Tsang
6b7ea75393 Mock Database Connection 2021-06-13 22:20:50 +08:00
Chris Tsang
99a1fe01fc cargo fmt 2021-05-27 02:34:14 +08:00
Chris Tsang
fcff91c0e4 Execute interface 2021-05-26 19:05:43 +08:00
Billy Chan
7aaeef834c
Move to separate DeriveActiveModel, cargo fmt 2021-05-25 18:27:44 +08:00
Chris Tsang
1a780d8e4f Move code 2021-05-24 22:29:17 +08:00
Chris Tsang
98b0e9df95 Example 2021-05-07 18:03:30 +08:00
Chris Tsang
6ffed93b46 DatabaseConnection 2021-05-07 15:09:07 +08:00