Commit Graph

82 Commits

Author SHA1 Message Date
antao d8c932218a Move callbacks into lambdas 2018-12-30 15:16:27 +08:00
an-tao 851e6d6647 Fix compiler warnings in Linux 2018-12-29 18:12:13 +08:00
antao 36f7f3331b Merge branch 'sqlite' of https://github.com/an-tao/drogon into sqlite 2018-12-29 18:02:56 +08:00
antao 926ac48b49 Modify drogon_ctl 2018-12-29 18:02:39 +08:00
an-tao 3f5b492858 Fix a bug in Linux 2018-12-29 17:36:41 +08:00
antao 3dc6e6c6c1 Modify eventloop in the Sqlite3Connection class 2018-12-29 16:56:50 +08:00
antao 787120dda4 Add support for sqlite3 models 2018-12-29 13:12:36 +08:00
antao 99a03159c5 Fix bugs of the Sqlite3ResultImpl class 2018-12-29 13:12:36 +08:00
antao 6db8df6bc0 Sqlite3 works, needs more testing 2018-12-29 13:12:36 +08:00
antao 161a964238 Start adding sqlite3 support 2018-12-29 13:12:36 +08:00
antao fb5bbde277 Modify something to improve performance 2018-12-24 15:06:05 +08:00
antao 53b3eb217f Debug postgresql connections 2018-12-11 15:06:04 +08:00
antao 7132cb32ca Fix a bug of Mapper<> 2018-12-11 13:58:17 +08:00
antao ed8d05de33 Add the callback for a transaction commit 2018-12-10 18:33:14 +08:00
antao d242b05cb9 Modify file comments 2018-12-07 15:53:31 +08:00
antao 032aa19a53 Modify file formats and comments 2018-12-07 15:50:18 +08:00
antao 948832640a Update Mapper.h 2018-12-06 18:06:17 +08:00
antao e8fcc49c37 Add the 'like' to the Criteria class 2018-12-05 09:50:36 +08:00
an-tao 56c2cfb609 Update tests 2018-12-03 18:12:19 +08:00
an-tao ffbdac36c9 Modify cmake files for the mariadb database on linux 2018-12-03 17:03:45 +08:00
antao 52546b7846 Modify the model generator for time-type columns 2018-12-03 10:13:31 +08:00
antao 458d14591b Modify some strings 2018-12-03 10:13:31 +08:00
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 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
an-tao d1a3f263e2 Fix a bug on 32-bit system 2018-11-23 23:29:46 +08:00
antao a2c349172a Modify the creation of models 2018-11-23 10:31:45 +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