Commit Graph

142 Commits

Author SHA1 Message Date
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
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
0a54a0de1a Add forUpdate() method to Mapper class template 2018-11-18 18:10:17 +08:00
antao
75d6145b56 Fix errors in the Mapper class template 2018-11-18 00:11:15 +08:00
antao
750d31f107 Support for trantor::Date type in database parameter binding 2018-11-17 11:40:17 +08:00
antao
215fc68fe3 Update version to 0.9.7 2018-11-16 13:56:57 +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
1ce440b7f3 Add deleteBy methods in the class Mapper 2018-11-12 16:16:13 +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
11db6673a6 Add delete methods to Mapper 2018-11-10 22:37:01 +08:00
antao
979c6670c9 Modify some function signatures 2018-11-10 21:31:44 +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
acaa604559 Fix some bugs in models 2018-11-09 15:46:39 +08:00
antao
5a56f3b5d3 Fix a bug (Winfinite-recursion) 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
cae30230c3 Add the create DAO method to drogon_ctl, not completed 2018-11-09 15:46:38 +08:00
antao
85664b86fc Mapper template works 2018-11-09 15:46:38 +08:00
antao
6385330c0f Modify some exception descriptions 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