antao
f75cb0c618
Update trantor
2018-11-18 12:44:56 +08:00
antao
75d6145b56
Fix errors in the Mapper class template
2018-11-18 00:11:15 +08:00
antao
0a25d6ad85
Add a Chinese readme file
2018-11-17 23:49:11 +08:00
an-tao
b40b3b13e5
Update trantor
2018-11-17 23:17:12 +08:00
antao
3c76a8dc17
Update trantor
2018-11-17 23:04:27 +08:00
antao
fbe757444f
Modify the newHttpClient() method
2018-11-17 17:33:05 +08:00
antao
7523d6c6f1
Add loop() method to HttpAppFramework
2018-11-17 12:07:38 +08:00
antao
750d31f107
Support for trantor::Date type in database parameter binding
2018-11-17 11:40:17 +08:00
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