Commit Graph

140 Commits

Author SHA1 Message Date
An Tao
657dc840a9
Modify the processing of bool type column in ORM (#231) 2019-09-02 07:47:36 +08:00
An Tao
aa26e9a903
Modify the CMakeLists to modern cmake style (#229) 2019-08-31 08:27:57 +08:00
An Tao
ba49a0e0e6
Update README (#225)
* Update README

* Update CMakeLists.txt
2019-08-24 22:44:37 +08:00
An Tao
4e274b1a2e
Modify the orm command of drogon_ctl (#224) 2019-08-24 18:43:05 +08:00
An Tao
c3cb70f415
Optimize performance (#222) 2019-08-24 13:12:04 +08:00
An Tao
da285cd4d2
Reduce dependencies between declarations (#212) 2019-08-15 20:59:16 +08:00
antao
36a31dc576 Update trantor(Fix a bug with SSL) 2019-08-03 13:51:45 +08:00
An Tao
60ecbb945e
Optimizations (#206) 2019-08-03 01:59:54 +08:00
An Tao
d97cfa8609
Optimize the batch mode of libpq. (#205) 2019-08-02 14:30:37 +08:00
An Tao
e566d9c451
Support PostgreSQL batch mode (#203) 2019-08-01 13:01:54 +08:00
antao
40087fba9c Remove config.h
Modify the CMakeLists.txt

Remove the USE_ORM macro

Update trantor

Remove some std::dynamic_pointer_cast calls
2019-07-29 14:53:41 +08:00
An Tao
986ef8dda7
Optimize pipelining (#197)
* Optimize pipelining

* Optimize the DbClientLockFree class
2019-07-25 16:30:42 +08:00
An Tao
9af87bb1c0
Add some managers to reduce the size of the HttpAppFrameworkImpl code (#194) 2019-07-12 16:47:21 +08:00
antao
7d7537b562 Make all listeners share IO threads in the MacOS system 2019-07-09 17:23:06 +08:00
antao
bcac1d4899 Make the number of the connections of Fast DB Clients configurable 2019-07-08 18:21:18 +08:00
antao
7e6e0573e1 Optimize the Field class 2019-07-08 16:42:06 +08:00
antao
3452a2fa1c Modify some code to get a good style 2019-05-23 18:57:45 +08:00
antao
c17591ef49 Make some inline functions out-line 2019-05-23 10:47:15 +08:00
antao
11b6d20a69 clang-format 2019-05-18 20:39:57 +08:00
antao
e5fe92c67a Change the line length limit to 80 characters 2019-05-18 11:11:45 +08:00
antao
be08aba9d1 Add .clang-format 2019-05-17 22:49:09 +08:00
antao
e48692939c Modify some interfaces 2019-04-29 14:47:23 +08:00
antao
9703439b8d Optimize database operations 2019-04-10 23:27:44 +08:00
antao
6af398ff5a Add FastDbClient instances into the main event loop 2019-04-07 13:49:35 +08:00
an-tao
5b55a8f9bf Fix an issue that occur on incorrect SQL 2019-03-27 15:32:23 +08:00
antao
353790f90b Use shared_ptr to store sql query in cache in the DbClientLockFree class 2019-03-23 17:32:03 +08:00
antao
6adff3469c Modify mysql client 2019-03-23 15:32:34 +08:00
antao
894b634b22 Adjust the execution order inside the run() method
Modify the configuration of fast database clients
Modify the ConfigLoader class
2019-03-23 11:26:21 +08:00
antao
db72840fc2 Move utility functions to the utils namespace 2019-03-21 17:47:45 +08:00
antao
c7011b85f4 Modify the PgConnection class 2019-03-08 16:19:13 +08:00
antao
801cb8aa35 Modify some database classes 2019-03-07 11:56:20 +08:00
antao
b39dd52a87 Modify some comments 2019-03-06 15:57:05 +08:00
antao
56ae5f459f Do some optimization 2019-03-02 12:25:08 +08:00
antao
620d875646 Add an asynchronous interface for transaction creation 2019-02-26 15:15:23 +08:00
antao
1ca5e3cde6 Use multiple database connections in the DbClientLockFree class 2019-02-26 09:50:51 +08:00
An Tao
037b9e7eff
Merge pull request #60 from an-tao/dev
Use the PQSendQuery() function instead of the PQsendQueryParams() function when the number of parameters is 0.
2019-02-25 21:00:52 +08:00
antao
769d645682 Modify the PgConnection class 2019-02-25 17:36:47 +08:00
antao
429490bd78 Modify DbClientImpl 2019-02-24 09:55:26 +08:00
antao
4d46ebed9b Add some comments 2019-02-22 18:00:25 +08:00
antao
70e7089e7d Process the HEAD method request 2019-02-22 14:03:34 +08:00
antao
90e63c1a0f Modify the TransactionImpl class 2019-02-21 20:36:18 +08:00
antao
52f1888a14 Use persisted idle-callback in db connections 2019-02-21 20:00:22 +08:00
antao
15ab5e1558 Use nullptr to clear std::function objects 2019-02-21 15:46:54 +08:00
antao
44416f1456 Optimize db client classes 2019-02-21 13:21:07 +08:00
antao
6d97ea5992 Add r-reference version for the SqlBinder class 2019-02-20 14:18:57 +08:00
antao
84ab5d369e Modify the PgConnection class 2019-02-19 18:52:25 +08:00
antao
6c4ad73f7a Use prepared statement in postgresql connections 2019-02-19 15:06:16 +08:00
an-tao
5629efa910 Fix a bug in the DbClientLockFree class 2019-02-18 23:27:30 +08:00
antao
358e45598b Add lock-free db client class 2019-02-18 18:42:10 +08:00
antao
8e16228458 Reduce the critical region in the handleNewTask() method to improve performance 2019-02-18 14:59:35 +08:00