Commit Graph

481 Commits

Author SHA1 Message Date
antao 25548eaaa0 The mysql client works 2018-12-03 10:13:31 +08:00
antao aa1f8d4acb Update MysqlConnection.h 2018-12-03 10:13:31 +08:00
antao 8ed5e19f46 Modify model creation 2018-12-03 10:13:31 +08:00
antao 5b26d4587b Fix a bug of the Transaction class 2018-12-03 10:13:31 +08:00
antao cba0252bc1 Add FindMySQL.cmake to the project generated by drogon_ctl 2018-12-03 10:13:31 +08:00
antao a0bdcdaae3 Fix a bug of the MysqlResultImpl 2018-12-03 10:13:31 +08:00
antao 6dec023099 Update SqlBinder 2018-12-03 10:13:31 +08:00
antao 64411fa521 Remove mysql stmt execution 2018-12-03 10:13:31 +08:00
antao de3d3ae3d6 Update the test 2018-12-03 10:13:31 +08:00
antao 4bfe8250e9 Mysql works with 'stmt' 2018-12-03 10:13:31 +08:00
antao cfe55d5495 Temporary commit 2018-12-03 10:13:31 +08:00
antao 17e765501b The mysql_real_query_start() method works 2018-12-03 10:13:31 +08:00
antao 7c907de7a6 Add the MysqlResultImpl class 2018-12-03 10:13:31 +08:00
antao d92ce4cf9f Send query 2018-12-03 10:13:31 +08:00
antao a661d01755 The non-blocking mysql_stmt_prepare works 2018-12-03 10:13:31 +08:00
antao 669c446656 Modify the connection to the Mysql server 2018-12-03 10:13:31 +08:00
antao 6d5b1af726 Update mysql connection 2018-12-03 10:13:31 +08:00
antao efbf5b4ad5 Add the MysqlConnection class 2018-12-03 10:13:31 +08:00
antao 21cb1b482a Start adding mysql(mariadb) support 2018-12-03 10:13:31 +08:00
an-tao c9c5d2b647 Fix a compiler warning 2018-12-03 10:03:05 +08:00
antao 02677c4e00 Update trantor 2018-12-02 22:43:45 +08:00
antao ba8138ba60 Modify the HttpFile class 2018-11-30 17:34:02 +08:00
antao 2940e9518f Update trantor 2018-11-30 15:31:10 +08:00
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