Chris Tsang
688891f706
Use MockDatabase in doc test
2021-06-27 16:15:56 +08:00
Sam Samai
0011f5e7d1
Create Cake and CakesBakers
2021-06-27 16:32:24 +10:00
Sam Samai
c76557135e
Create Lineitem
2021-06-27 15:28:04 +10:00
Chris Tsang
a0db19758b
SelectTwoMany
2021-06-27 03:39:09 +08:00
Chris Tsang
df7bb5c195
left_join_and_select_also
2021-06-27 00:03:16 +08:00
Chris Tsang
394dfc07cc
Fix clippy warning
2021-06-26 23:02:38 +08:00
Billy Chan
a072b1f2f3
from_query_result_opt, FIXME: unit test will fail
2021-06-26 22:58:10 +08:00
Billy Chan
19c0b0c35d
Select to many
2021-06-26 22:55:30 +08:00
Chris Tsang
0afd226dbe
Update generated examples
2021-06-26 22:27:29 +08:00
Chris Tsang
c36b94592d
Merge branch 'codegen-amendment'
2021-06-26 22:08:01 +08:00
Chris Tsang
1b2dc1ca43
Revert examples
2021-06-26 22:06:10 +08:00
Billy Chan
fa30519f99
sea-orm-cli read config from .env, update command, rename binary to sea-orm-cli
2021-06-26 21:46:10 +08:00
Billy Chan
c6a1cfab2e
Update GitHub action
2021-06-26 21:07:52 +08:00
Sam Samai
1de4d0cd28
Create Customer and Order
2021-06-26 22:09:19 +10:00
Sam Samai
bd2e7a922f
Baker belongs to a bakery
2021-06-26 17:58:37 +10:00
Sam Samai
318665d1af
Start creating the table for Bakery and Baker objects
2021-06-26 16:09:43 +10:00
Sam Samai
fce0b04e58
Use more datatypes in the model
2021-06-25 18:36:38 +10:00
Sam Samai
b8f58546bd
Bakery chain domain model
2021-06-25 16:41:02 +10:00
Chris Tsang
2cf8911a4b
Diesel
2021-06-25 12:30:18 +08:00
Sam Samai
255aeb7e16
ERD of the Bakery domain to begin with
2021-06-24 16:52:13 +10:00
Chris Tsang
f3e30de7b0
Diesel
2021-06-23 23:13:22 +08:00
Billy Chan
9a25bb9c36
Use belongs_to
, has_one
and has_many
2021-06-22 23:42:10 +08:00
Billy Chan
83e4859776
codegen ColumnDef null() and unique()
2021-06-22 22:40:43 +08:00
Chris Tsang
54bc3f2645
New logo & banner
2021-06-22 22:29:34 +08:00
Chris Tsang
cbf16102c0
has_one and belongs_to
2021-06-22 15:52:22 +08:00
Chris Tsang
a60c2da701
Tag line
2021-06-22 02:47:26 +08:00
Chris Tsang
ad3fb45253
cargo fmt
2021-06-22 01:30:26 +08:00
Chris Tsang
d77a7c8ab4
Has many relation to be auto defined
2021-06-22 01:30:21 +08:00
Chris Tsang
72408eedfc
Fix GitHub Action
2021-06-20 23:22:15 +08:00
Chris Tsang
092b50eec3
GitHub Action
2021-06-20 23:10:47 +08:00
Chris Tsang
7158e78f65
Basic test suite (sqlite)
2021-06-20 23:05:05 +08:00
Chris Tsang
ec290156c5
SQLx SQLite support
2021-06-20 23:04:25 +08:00
Chris Tsang
cdc8056d4b
Stub API
2021-06-20 16:23:49 +08:00
Chris Tsang
8eaf7868c4
Design
2021-06-19 21:30:52 +08:00
Chris Tsang
564c6ed1a2
ColumnDef
2021-06-19 21:06:12 +08:00
Chris Tsang
91023d06c5
Codegen: update ColumnDef
2021-06-19 20:53:08 +08:00
Billy Chan
cab4b5a3f7
Codegen: Entity Generator ( #23 )
2021-06-19 19:47:59 +08:00
Chris Tsang
0b3ea685d5
ColumnDef with builder API to replace sea_query::ColumnType in Entity def
2021-06-19 18:42:26 +08:00
Chris Tsang
e5ff92dc1d
DbConn alias
2021-06-19 17:33:14 +08:00
Chris Tsang
5002c62b40
Use DatabaseConnection in place of Database
2021-06-19 17:28:07 +08:00
Chris Tsang
5d84c88ccd
Fix example
2021-06-19 17:00:36 +08:00
Chris Tsang
041d28aa26
Refactor
2021-06-19 16:56:53 +08:00
Chris Tsang
f9ba6eeb1f
Transaction
2021-06-19 16:42:11 +08:00
Chris Tsang
ddcdd33bd5
Fix clippy warnings
2021-06-19 02:49:56 +08:00
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
9058089dc8
Rename find_by to find_by_id
2021-06-16 17:39:22 +08:00
Chris Tsang
d8902ba979
Refactor example
2021-06-16 17:31:14 +08:00
Chris Tsang
97faaf0f34
LICENSE
2021-06-14 23:58:53 +08:00