Commit Graph

41 Commits

Author SHA1 Message Date
Aaron Piotrowski
79e9b849ad
Fail pending deferred if pool closed 2018-09-26 12:27:31 -05:00
Aaron Piotrowski
480e90cba8
Return promise from StatementPool::prepare(); update tests 2018-09-26 11:41:35 -05:00
Aaron Piotrowski
04fc107cc0
Add prepare method to StatementPool 2018-09-26 11:32:13 -05:00
prolic
9b667bafdf
fix PooledResultSet 2018-09-15 21:38:56 +08:00
Niklas Keller
b9e7da3691 Fix code style 2018-09-14 22:11:01 +02:00
Niklas Keller
6b4e05f045 Move result set type to getCurrent() 2018-09-14 22:05:25 +02:00
Niklas Keller
cf131fa9f0 Fix tests 2018-09-13 20:54:37 +02:00
Niklas Keller
e257237b61 Improve naming
Relates to #1.
2018-09-13 20:51:10 +02:00
Chris Wright
15c2090945
Extract TransientResource interface 2018-07-29 09:33:53 -05:00
Aaron Piotrowski
130bcb5c10
Remove ConnectionConfig::getConnectionString() 2018-07-18 09:48:04 -05:00
Aaron Piotrowski
37d947b422
Add key map for connection string parser 2018-07-16 15:52:01 -05:00
Aaron Piotrowski
6f72cb76da
Add Pooled* base classes 2018-07-13 10:36:10 -05:00
Aaron Piotrowski
97b10e4361
Make ConnectionConfig an abstract value class 2018-07-13 10:15:09 -05:00
Aaron Piotrowski
b370f6b232
Add pool tests 2018-07-10 18:36:30 -05:00
Aaron Piotrowski
1d33364698
Remove setIdleTimeout()
Moved to constructor argument.
2018-07-10 18:33:00 -05:00
Aaron Piotrowski
9130acd08c
Use assert() instead of comments 2018-07-10 17:54:04 -05:00
Aaron Piotrowski
f50c02e39f
Remove prepare() from StatementPool; add pop() method 2018-07-08 23:57:08 -05:00
Aaron Piotrowski
53ad3269f7
Rename PooledStatement to StatementPool 2018-07-08 10:56:36 -05:00
Aaron Piotrowski
7df38b63fc
Remove Operation 2018-07-05 00:04:13 -05:00
Aaron Piotrowski
ed9d2b1002
Fix prepare for PooledStatement 2018-06-30 08:56:50 -05:00
prolic
dcbc634543
apply php cs fix 2018-06-30 01:41:33 +08:00
prolic
53f13dd332
rename test method 2018-06-30 01:35:58 +08:00
prolic
a0a90d4ba6
add travis yml 2018-06-30 01:26:39 +08:00
prolic
093b504f71
minor fix 2018-06-30 01:24:57 +08:00
prolic
27d70df99c
add query error test 2018-06-30 01:24:35 +08:00
prolic
2f18fa41c4
fix abstract pool consts 2018-06-30 01:08:58 +08:00
Aaron Piotrowski
15336ca7fc
Proper AbstractPool and add PooledStatement 2018-06-29 11:13:09 -05:00
prolic
fe530cf590
reorder abstract methods 2018-06-29 22:32:51 +08:00
prolic
953a75c5ff
update abstract pool 2018-06-29 22:27:27 +08:00
prolic
f1f353039c
update abstract pool 2018-06-29 22:26:44 +08:00
prolic
bb0ea9d687
add abstract pool 2018-06-29 22:25:06 +08:00
prolic
9d31f9be69
update php-cs-fixer 2018-06-29 18:27:27 +08:00
prolic
81d163fb66
apply php cs fixes 2018-06-29 18:15:39 +08:00
prolic
e20aa137bb
use php cs fixer 2018-06-29 18:12:40 +08:00
prolic
92de8dc2a6
fix interfaces 2018-06-29 17:41:04 +08:00
prolic
a36a41ab06
update interfaces 2018-06-29 17:22:16 +08:00
Aaron Piotrowski
57d72761cb
Remove dups; add some docs; update Pool 2018-06-28 16:16:18 -05:00
prolic
190e8c1329
refactor connection 2018-06-28 21:20:22 +08:00
prolic
860fe1144c
move connector + connection config 2018-06-28 16:30:51 +08:00
prolic
27faaffc4e
update changes after review 2018-06-27 19:57:37 +08:00
prolic
1b83852d0a
initial commit 2018-06-26 19:14:24 +08:00