Commit Graph

140 Commits

Author SHA1 Message Date
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
antao
a2c349172a Modify the creation of models 2018-11-23 10:31: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
ad37969535 1.Fix a memory bug;
2.Support for bytea type of postgreSQL;
2018-11-19 18:15:41 +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
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
2e35a966d3 Add Transaction 2018-11-15 13:49:47 +08:00
antao
be58f265dd Update db tests 2018-11-11 12:34:23 +08:00
antao
c2d23abe9f Use shared_ptr to PgClientImpl 2018-11-11 12:02:48 +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
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
6810dd261c Modify models template 2018-11-09 15:46:39 +08:00
antao
0d77fa1490 Improve the function of creating models 2018-11-09 15:46:38 +08:00
antao
85664b86fc Mapper template works 2018-11-09 15:46:38 +08:00
antao
054b0a2d68 Add Criteria class 2018-11-09 15:46:38 +08:00
antao
2dcb924c81 Start Adding orm 2018-11-09 15:46:38 +08:00