Johannes Müller
|
b3898ae2a2
|
Statement#exec and #query require named argument for array values (#110)
This change allows to use an array as single argument for #exec and
#query and #scalar methods. Before it was shadowed by the *args splat overload.
|
2019-09-20 17:23:09 -03:00 |
Brian J. Cardiff
|
039035a397
|
fix #scalar queries where not handled with retry connection pool logic
|
2016-12-16 11:56:27 -03:00 |
Brian J. Cardiff
|
2cab0b37f5
|
refactor prepared and unprepared pool statements
|
2016-12-07 01:50:06 -03:00 |
Brian J. Cardiff
|
fe0ed55ef9
|
introduce unprepared statements
* rename QueryMethods#prepare to QueryMethods#build
* rename Connection#build_statement to Connection#build_prepared_statement
* add Connection#build_unprepared_statement
* add Connection #prepared and #unprepared dsl methods
|
2016-12-07 01:50:06 -03:00 |
Brian J. Cardiff
|
ea2a107069
|
allow releasing connections of the pool from pool_statements
remove old connections from PoolStatement::@connections either disposed or closed connections
|
2016-09-12 14:35:21 -03:00 |
Brian J. Cardiff
|
47e7d826e8
|
Add connection retry logic to connection pool
|
2016-08-31 17:32:01 -03:00 |
Brian J. Cardiff
|
9c9176608d
|
avoid caching statements in pool_statement
Only the connections where it was prepared need to be cached.
The connections already have a statement cache based on the query
|
2016-08-30 16:40:52 -03:00 |
Brian J. Cardiff
|
75aa821f5f
|
make Database return PoolStatement
create StatementMethods for common interface between Statement and PoolStatment.
|
2016-08-29 16:56:34 -03:00 |