Brian J. Cardiff
|
44559f6f95
|
move spec and src files to a shardy way
|
2016-02-25 22:37:10 -03:00 |
|
Brian J. Cardiff
|
4ed7f28fe6
|
ensure exec and scalar release connection
ensure exec, query can be executed with Enumerable(Any)
update db doc sample
|
2016-02-25 22:27:42 -03:00 |
|
Brian J. Cardiff
|
d45427dfdd
|
expose database in connection
get/return from pool while result set is been used. still single connection pool
|
2016-02-25 22:27:42 -03:00 |
|
Brian J. Cardiff
|
562d5076bf
|
use URI as connection string
|
2016-02-25 22:27:42 -03:00 |
|
Brian J. Cardiff
|
6a5b2a8758
|
assert connection is closed after db is used.
tidy up close methods
|
2016-02-25 22:27:35 -03:00 |
|
Brian J. Cardiff
|
3598dddb65
|
split perform_query and perform_exec
add DB::ExecResult to have a concurrency safety exec result
remove connection string from abstract DB::Connection
|
2016-02-25 22:25:55 -03:00 |
|
Brian J. Cardiff
|
d01da912f7
|
code review notes
close / do_close in result_set
avoid closing statements
remove named arguments
refactor positioned arguments query
|
2016-02-25 22:25:55 -03:00 |
|
Brian J. Cardiff
|
a96776e336
|
use connection_string as database configuration instead of a hash
|
2016-02-25 22:25:55 -03:00 |
|
Brian J. Cardiff
|
1fb0b8a82b
|
add ResultSet#exec to ensure the query is performed. By default generates a move_next .
|
2016-02-25 22:25:54 -03:00 |
|
Brian J. Cardiff
|
683e6bdfa7
|
major db refactor for a better api.
`#query`, `#exec`, `#scalar`, `#scalar?` as main query methods from `Database`
blocks overrides that ensure statements are closed.
|
2016-02-25 22:25:54 -03:00 |
|