Commit Graph

107 Commits

Author SHA1 Message Date
an-tao
d5d90d2f6f Modify code style 2019-01-21 23:59:28 +08:00
an-tao
ef389b6ec9 Organize code style 2019-01-21 22:25:20 +08:00
an-tao
b20114a9d5 Organize code style 2019-01-21 21:28:46 +08:00
antao
a9e9ced331 Use references instead of values in range-based for loop 2019-01-21 17:39:31 +08:00
antao
c26f536255 Update the submodule trantor 2019-01-19 13:50:35 +08:00
antao
7661b8ed88 Change the vertion to 0.9.14 2019-01-15 18:25:54 +08:00
an-tao
f20b9199e1 Increase the size of the sql command bufferr 2019-01-15 18:09:21 +08:00
antao
bbb810949e Modify the DbClientImpl class 2019-01-15 17:55:09 +08:00
antao
7ae8f58bb8 Modify the Result class 2019-01-15 13:21:40 +08:00
antao
0b4fd04228 Modify the genRandomString() function 2019-01-14 17:11:32 +08:00
antao
ffbf244b73 MysqlConnection:Automatic reconnection 2019-01-12 22:18:35 +08:00
antao
cdbb55643a Update the submodule trantor 2019-01-11 18:17:04 +08:00
antao
daff2ec427 Modify the Sqlite3Connection class 2019-01-11 17:24:12 +08:00
antao
cd257203f7 Use read-write lock to avoid the race condition of sqlite3 database operation 2019-01-11 15:01:25 +08:00
antao
52dceb45c2 Modify the constructor of the DbClientImpl class 2019-01-10 19:12:33 +08:00
antao
59a0431512 Add a mutex 2019-01-10 17:54:51 +08:00
antao
4e704d398d Make pg connections automatically reconnect 2019-01-10 15:54:25 +08:00
antao
5f108b510d Name threads 2019-01-09 16:23:34 +08:00
an-tao
08300f93c2 Modify the constructor of the DbClientImpl class 2019-01-09 14:47:07 +08:00
antao
e1b873ba01 Modify the DbClientImpl class 2019-01-09 13:12:07 +08:00
antao
ac90c80710 Use multiple event loops in the db client 2019-01-09 10:46:58 +08:00
antao
937a2fd136 Optimize PostgreSQL client 2019-01-08 19:37:19 +08:00
antao
5ea972e5b3 Modify the signature of the createDbClient() method 2019-01-07 16:26:58 +08:00
antao
baa7ea6a0a Modify the db mapper 2019-01-04 16:19:21 +08:00
antao
f7b853e96c Update the submodule trantor 2019-01-03 13:31:12 +08:00
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