828 Commits

Author SHA1 Message Date
Charles Chege
e0023611a2 Improve documentation for the drivers and the entity
Provide module level code example on how to create an Entity, Model, ActiveModel, Column and PrimaryKey
2021-10-30 11:15:43 +03:00
Charles Chege
a1382b1b41 Fix merge conflicts from SeaQL/sea-orm master branch 2021-10-29 10:44:09 +03:00
Charles Chege
037eab974e Document the utils module 2021-10-29 10:40:39 +03:00
Charles Chege
f21492bf60 Document the error module 2021-10-29 10:40:16 +03:00
Charles Chege
e4d115b5b0 Document the database drivers 2021-10-29 10:39:37 +03:00
Charles Chege
db098d1a03 Documetation for the entity module 2021-10-29 10:39:16 +03:00
Charles Chege
817e9bdd23 Documetation for the executor module 2021-10-29 10:38:55 +03:00
Charles Chege
a9b6f8cc83 Documetation for the query module 2021-10-29 10:38:30 +03:00
Charles Chege
69d5c701ee Documetation for the schema module 2021-10-29 10:37:54 +03:00
Charles Chege
91b9e542af Documetation for the database modeule 2021-10-29 10:37:10 +03:00
Chris Tsang
8338c23341 Do not override max_connections for SQLite 2021-10-29 14:24:54 +08:00
Charles Chege
642994a194 Documentation for the stream module 2021-10-28 15:49:28 +03:00
Billy Chan
e21af53374
Fix clippy warnings 2021-10-27 15:23:21 +08:00
Billy Chan
fe64d53b45
Merge remote-tracking branch 'origin/master' into active-enum 2021-10-27 13:24:35 +08:00
Billy Chan
55de1968bb
Add create_enum_from_entity 2021-10-27 12:37:35 +08:00
Billy Chan
e04495b94d
Refactoring 2021-10-27 11:28:33 +08:00
Billy Chan
fac528a369
Refactoring 2021-10-27 10:58:38 +08:00
Billy Chan
ded28be2c0
Refactoring 2021-10-26 18:58:06 +08:00
Billy Chan
db22e70c63
Refactoring 2021-10-26 17:51:36 +08:00
Billy Chan
2ee376ddd1
Try EnumValue 2021-10-26 16:22:24 +08:00
Billy Chan
6059cdd9ad
Remove unused EnumIter 2021-10-25 17:03:10 +08:00
Billy Chan
f20c64988d
Tests all DB 2021-10-25 16:52:02 +08:00
Billy Chan
8858d64dd0
create_table_from_entity with DB backend 2021-10-25 15:48:01 +08:00
Chris Tsang
5daa9abd38 #267 Added is_null and is_not_null 2021-10-23 15:41:33 +08:00
Forest Anderson
44da1cab0b Rearranged files, added fmt 2021-10-22 11:24:41 +08:00
Billy Chan
b65d441dea
Fix clippy warnings 2021-10-21 16:26:42 +08:00
Billy Chan
1ee2dab3b7
Fixup 2021-10-21 15:53:46 +08:00
Billy Chan
20c66b2f05
Refactoring 2021-10-21 15:50:18 +08:00
Billy Chan
80c72004d1
Try Postgres enum 2021-10-21 15:43:50 +08:00
Billy Chan
734608471c
WIP 2021-10-20 18:54:08 +08:00
Billy Chan
d525c710ce
Merge remote-tracking branch 'origin/master' into active-enum 2021-10-20 18:43:39 +08:00
Billy Chan
f1ef7d9c47
Add DbErr::Type 2021-10-20 16:41:01 +08:00
Billy Chan
388bf2cfca
Fixup 2021-10-20 15:17:11 +08:00
Billy Chan
eed8b7c51e
Add docs 2021-10-20 15:06:23 +08:00
Billy Chan
ceba3ef7a0
Add docs 2021-10-20 13:16:22 +08:00
Billy Chan
bd56485180
lib.rs SEO 2021-10-20 12:28:51 +08:00
Billy Chan
5b0720065f
More tests 2021-10-20 12:18:08 +08:00
Billy Chan
e177a338c4
Minimal trait bounds 2021-10-20 12:17:57 +08:00
Billy Chan
8627c8d961
Draft ActiveEnum 2021-10-19 19:08:02 +08:00
Chris Tsang
c0761a949b cargo fmt 2021-10-19 18:50:45 +08:00
Forest Anderson
bcc5b5066a Changed manual url parsing to use Url crate 2021-10-16 23:19:48 -04:00
Chris Tsang
10b101b142 Test case for DeriveIntoActiveModel 2021-10-16 17:46:08 +08:00
Chris Tsang
09324db1b0 Stream example 2021-10-16 01:02:25 +08:00
Chris Tsang
55a4f32d5e
Merge pull request #248 from SeaQL/transaction-am-behavior-tests
Transaction & active model behavior tests
2021-10-15 23:43:47 +08:00
Chris Tsang
8ce392ba8c #249 Build with mock + macros 2021-10-15 23:08:55 +08:00
Chris Tsang
55dbdb7626 #249 Build with mock only 2021-10-15 23:04:14 +08:00
Billy Chan
01eff84ce8 Join with table alias 2021-10-15 22:28:39 +08:00
Billy Chan
aa5ccb9216
Hotfix - ActiveModel::insert() trigger ActiveModelBehavior::after_save() 2021-10-15 17:43:39 +08:00
Billy Chan
80d3ddc030
Use backed-up primary key as last insert id before getting it from db driver 2021-10-15 11:51:05 +08:00
Chris Tsang
249f87387e Readme 2021-10-14 23:22:36 +08:00