antao
bd8f32281a
Add the #pragma once to the ResultImpl.h file
2018-11-29 19:09:34 +08:00
antao
20f97a78a2
Modify tests path
2018-11-27 18:29:23 +08:00
antao
ca5085c503
Modify the output of the db_test program
2018-11-27 17:52:46 +08:00
antao
81540ca19b
Add a database test
2018-11-27 17:37:41 +08:00
antao
d356d38319
Add the findAndFetch method to the CacheMap class
2018-11-27 09:40:20 +08:00
antao
cd1139cf83
Update save methods of uploaded files
2018-11-26 16:36:57 +08:00
antao
5a0869af74
Change the version to 0.9.8
2018-11-24 22:40:39 +08:00
antao
5edd4498a4
Modify the FileUpload class
2018-11-24 22:26:36 +08:00
an-tao
5d019d42dd
Merge pull request #13 from miaogen123/fix-file-upload
...
When saving the uploaded file, if the folder does not exist, try to create it
2018-11-24 22:12:15 +08:00
miaogen
807c58b550
fix-folder-create
2018-11-24 20:17:13 +08:00
antao
5028f0f38f
Modify the creation of models
2018-11-23 23:46:58 +08:00
an-tao
d1a3f263e2
Fix a bug on 32-bit system
2018-11-23 23:29:46 +08:00
antao
afd1bf986a
jsoncpp int64
2018-11-23 19:46:59 +08:00
antao
a2c349172a
Modify the creation of models
2018-11-23 10:31:45 +08:00
an-tao
b9c172a4a3
Add the default ctor in model classes
2018-11-22 23:46:27 +08:00
antao
b1193f592f
Add some comments
2018-11-22 15:48:45 +08:00
antao
c86dc3f405
Remove the PgClientImpl class
2018-11-22 09:39:33 +08:00
antao
b4621bebb1
Add an intermediate abstraction layer for the database client class
2018-11-21 18:18:10 +08:00
antao
532d69b27f
Minor modifications
2018-11-20 18:54:44 +08:00
antao
f829e10dfa
Modify the signature of some functions
2018-11-20 14:54:51 +08:00
antao
fe16066a4b
Add the toJson() method to the database model
2018-11-20 14:08:08 +08:00
antao
972b0bf600
Make the database model support the float type
2018-11-20 11:20:57 +08:00
antao
9ee0ef6cc8
Modify the creation of models
2018-11-20 10:54:46 +08:00
antao
ad37969535
1.Fix a memory bug;
...
2.Support for bytea type of postgreSQL;
2018-11-19 18:15:41 +08:00
antao
801e0c1ca6
Fix a bug for the model of table without primary key
2018-11-19 13:00:15 +08:00
antao
18eb16a843
Update README.zh-CN.md
2018-11-18 21:48:42 +08:00
antao
605f6db2b8
Update README files
2018-11-18 18:26:23 +08:00
antao
ead9d72635
Update .travis.yml
2018-11-18 18:20:11 +08:00
antao
0a54a0de1a
Add forUpdate() method to Mapper class template
2018-11-18 18:10:17 +08:00
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