an-tao
6698929a70
Add the quit() method to HttpAppFramework
2018-11-17 00:10:15 +08:00
an-tao
2f6448e6b2
Update issue templates
2018-11-16 18:29:27 +08:00
antao
c23d7417a8
Modify some comments
2018-11-16 18:25:41 +08:00
an-tao
cef1d20266
Create CODE_OF_CONDUCT.md
2018-11-16 18:23:22 +08:00
an-tao
51a4e5b2f6
Merge pull request #10 from bigfish3000/master
...
The detail bash script for building drogon
2018-11-16 17:50:19 +08:00
Yun Liu
c19c536f6c
fixed some bugs
2018-11-16 17:26:35 +08:00
antao
c94fcccfe5
Modify HttpClient.h file format
2018-11-16 15:50:29 +08:00
Yun Liu
2a81864b72
update script and add more comments
2018-11-16 15:31:08 +08:00
antao
215fc68fe3
Update version to 0.9.7
2018-11-16 13:56:57 +08:00
an-tao
c1164d8c42
Merge pull request #9 from an-tao/with_orm
...
Add support for the model:
You can read and write the postgreSQL database using drogon:: orm::DbClient or drogon::orm::Transaction;
You can create a model class using 'drogon_ctl create model ...';
You can read and write models from database using the drogon::orm::Mapper <T> template;
Note: Currently only postgreSQL is supported.
2018-11-16 13:47:00 +08:00
antao
13d13ed240
Organize the format of files
2018-11-16 13:26:14 +08:00
antao
5514bfd32a
Modify PgClientImpl and PgConnection
2018-11-16 12:58:50 +08:00
antao
b077d1f308
Merge branch 'master' into with_orm
2018-11-16 10:59:51 +08:00
antao
4cd58b3165
Add some comments
2018-11-16 10:59:03 +08:00
an-tao
e78b517607
Merge branch 'master' into with_orm
2018-11-16 00:10:45 +08:00
an-tao
eef922ffc5
Update trantor
2018-11-16 00:09:58 +08:00
an-tao
e54aba423c
Merge branch 'master' into with_orm
2018-11-15 22:01:30 +08:00
an-tao
e14bc9b41f
Split HttpContext class
2018-11-15 22:00:23 +08:00
antao
43b7633df4
Merge branch 'master' into with_orm
2018-11-15 19:43:41 +08:00
antao
38f61de9fa
Fix a bug of HttpResponseImpl
2018-11-15 19:42:25 +08:00
antao
cd7dd660e4
Merge branch 'master' into with_orm
2018-11-15 18:28:13 +08:00
an-tao
73507a6375
Add a header file including
2018-11-15 18:25:13 +08:00
antao
035c50eb9c
Add genRandomString method
2018-11-15 18:21:14 +08:00
antao
6df0f0020c
Add some logs
2018-11-15 17:53:24 +08:00
antao
701105fb64
Fix a rollback bug in transactions
2018-11-15 16:22:24 +08:00
antao
7611573153
Merge branch 'master' into with_orm
2018-11-15 15:04:42 +08:00
antao
fd58a419a9
Rename HttpApiController to HttpController
2018-11-15 14:31:10 +08:00
antao
2e35a966d3
Add Transaction
2018-11-15 13:49:47 +08:00
antao
b61e94548e
Update drogon_ctl
2018-11-15 09:17:08 +08:00
antao
1ce440b7f3
Add deleteBy methods in the class Mapper
2018-11-12 16:16:13 +08:00
an-tao
a45bc0c0a7
Fix a bug in the system without database
2018-11-12 15:30:44 +08:00
antao
d3931c73fd
Add database client options to the configuration file
2018-11-12 13:39:22 +08:00
antao
4b8971b258
Fix some warnings
2018-11-11 18:51:39 +08:00
antao
be58f265dd
Update db tests
2018-11-11 12:34:23 +08:00
antao
ac795dd18f
Merge commit 'c2d23ab' into orm_dev
2018-11-11 12:27:17 +08:00
antao
9d81f3217d
Fix a bug
2018-11-11 12:16:26 +08:00
antao
c2d23abe9f
Use shared_ptr to PgClientImpl
2018-11-11 12:02:48 +08:00
antao
fe877ef265
Merge branch 'master' into with_orm
2018-11-11 11:03:35 +08:00
antao
7d45746474
Update configuration file
2018-11-11 11:00:46 +08:00
antao
82c5cc1dcc
Merge branch 'master' into with_orm
2018-11-11 00:58:08 +08:00
antao
a50aa07cc0
Update drogon_ctl
2018-11-11 00:56:57 +08:00
antao
11db6673a6
Add delete methods to Mapper
2018-11-10 22:37:01 +08:00
antao
979c6670c9
Modify some function signatures
2018-11-10 21:31:44 +08:00
antao
68cefc76e9
Fix a bug
2018-11-10 20:44:53 +08:00
an-tao
6e5eef9aaf
Fix some warnings
2018-11-09 15:55:20 +08:00
antao
de3c31f34b
Support timestamp column type
2018-11-09 15:46:39 +08:00
antao
fdb69781f2
Add a comment to the model header file
2018-11-09 15:46:39 +08:00
antao
f9cc77daa0
Fix a bug of struct tm
2018-11-09 15:46:39 +08:00
antao
32a7c5aff6
Support composite primary key
2018-11-09 15:46:39 +08:00
antao
4e060b7726
Support date type in ORM
2018-11-09 15:46:39 +08:00