Brian J. Cardiff
|
f568e4506d
|
add cache of pool statements per query
refactor/reuse connection statement cache
|
2016-08-30 16:20:18 -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 |
|
Brian J. Cardiff
|
a2c22c16cf
|
allow DB to use a connection pool.
allow Driver to parse connection pool options for extensibility.
fix waiting_resource counter after a timeout was generated.
|
2016-07-07 15:50:09 -03:00 |
|
Brian J. Cardiff
|
421996b952
|
resource pool implementation with
* max_pool_size
* initial_pool_size
* max_idle_pool_size
* checkout_timeout
configuration options
|
2016-07-05 15:21:39 -03:00 |
|
Santiago Palladino
|
7fcedc6711
|
Database mapping macro
Add `from_rs` method to class to load instances from a resultset. Inspired by YAML and JSON mapping macros.
|
2016-07-04 11:19:16 -03:00 |
|
Ary Borenszweig
|
9c88f718e8
|
Require ResultSet to just implement read , optionally implementing read(T.class) . Fixes #5
|
2016-06-30 09:46:25 -03:00 |
|
Ary Borenszweig
|
038ffef33a
|
Don't use tap so return value is that of yield
|
2016-06-29 16:54:16 -03:00 |
|
Brian J. Cardiff
|
8025ecaa13
|
update Slice(UInt8) to Bytes
|
2016-06-22 14:10:09 -03:00 |
|
Brian J. Cardiff
|
c5d7778a0d
|
update DB::ExecResult#rows_affected to Int64
|
2016-06-21 18:31:13 -03:00 |
|
Brian J. Cardiff
|
0daa1c18d7
|
DRY DB::TYPES and DB::Any
|
2016-06-21 12:08:51 -03:00 |
|
Brian J. Cardiff
|
d69555b372
|
make Nil a proper column type
|
2016-06-21 10:53:34 -03:00 |
|
Ary Borenszweig
|
f834b0f8a6
|
Updated to Crystal 0.17.4
|
2016-06-16 12:16:39 -03:00 |
|
Brian J. Cardiff
|
44559f6f95
|
move spec and src files to a shardy way
|
2016-02-25 22:37:10 -03:00 |
|