Commit Graph

15 Commits

Author SHA1 Message Date
Jinzhu a8b72546c1 Fix get database connection for prepared stmt, close #4214 2021-03-25 10:17:57 +08:00
Jinzhu a9fe025ef5 Add GetDBConnector interface 2021-03-19 15:55:38 +08:00
Jinzhu fe553a7c1a Fix prepared statement in transaction mode can't be shared in normal operations, close #3927 2021-01-10 16:46:06 +08:00
Jinzhu 21c3f05aa2 Use transaction's conn when preparing statement 2020-12-14 18:31:18 +08:00
Jinzhu bdb30da0a7 Fix copy lock for prepared statement, close #3642, #3607 2020-10-21 15:47:46 +08:00
Jinzhu dd0d74fad0 Fix transaction on closed conn when using prepared statement, close #3380 2020-09-03 19:16:55 +08:00
Jinzhu 496db1f13e Fix named argument with multiple line SQL, fix #3336 2020-08-31 15:45:56 +08:00
Jinzhu 9b0ad4730f Squashed commit of the following:
commit 759038a126122d5b3323979fdd7d867a4ab85585
Author: Jinzhu <wosmvp@gmail.com>
Date:   Mon Aug 31 12:06:31 2020 +0800

    Add PreparedStmt tests

commit 066d54db1f
Author: 王岚 <wanglan.backend@bytedance.com>
Date:   Fri Aug 28 18:40:59 2020 +0800

    prepare_stmt add ctx
2020-08-31 12:08:33 +08:00
Jinzhu c11c939b95 callbacks support sort with wildcard 2020-08-03 21:48:36 +08:00
Jinzhu c7667e9299 Refactor Prepared Statement 2020-07-28 14:46:48 +08:00
Jinzhu f93345afa8 Close cached prepared stmt when got error 2020-07-03 10:26:18 +08:00
Jinzhu 2d945a9641 Switch pgx as default driver 2020-07-03 08:54:12 +08:00
Jinzhu 3f355dc050 Refactor 2020-07-02 10:14:30 +08:00
Jinzhu 7851faa094 Allow close prepared statements, double check before prepare 2020-06-21 18:18:23 +08:00
Jinzhu c8e7878b3e Add PrepareStmt support 2020-06-05 11:40:24 +08:00