Commit Graph

66 Commits

Author SHA1 Message Date
Aaron Piotrowski
4f5449c828
A few renames 2022-04-11 22:21:19 -05:00
Aaron Piotrowski
25cf4d6802
Add github actions build 2022-02-26 09:09:55 -06:00
Aaron Piotrowski
0466a73152
Add CS fixer and apply rules 2022-02-26 09:07:16 -06:00
Aaron Piotrowski
d032734e94
PascalCase enum cases 2022-02-26 08:59:11 -06:00
Aaron Piotrowski
3698c20375
Require 8.1 and make Transaction isolation an enum 2022-02-22 18:37:27 -06:00
Aaron Piotrowski
55bfd0f439
Add Result::getColumnCount() 2021-10-30 23:46:29 -05:00
Aaron Piotrowski
204b8d9f45
Fix passing null to trim 2021-10-28 23:22:36 -05:00
Aaron Piotrowski
50389ebefd
Change Result to extend only Traversable 2021-10-24 22:25:21 -05:00
Aaron Piotrowski
4f5f3e6d92
Update to new pipeline lib 2021-10-23 23:54:31 -05:00
Aaron Piotrowski
c17f93fb9a
Refactor for Amp v3 2020-10-10 21:37:06 -05:00
Aaron Piotrowski
66d4ab1018
Update for PHPUnit 9.3 2020-08-28 11:38:03 -05:00
Aaron Piotrowski
e7f7265a28
Update for Stream to Pipeline name change 2020-08-28 11:37:54 -05:00
Aaron Piotrowski
0c403bb4ca
Fix PHPUnit config 2020-06-11 09:31:36 -05:00
Aaron Piotrowski
8520dfd728
Run Psalm on Travis 2020-06-11 09:22:26 -05:00
Aaron Piotrowski
dbd1284c9c
Fix doc comment 2020-06-11 09:22:17 -05:00
Aaron Piotrowski
83e21f8699
Add Psalm and fix doc types 2020-05-23 15:44:01 -05:00
Aaron Piotrowski
58f2931186
Combine result interfaces 2020-05-22 10:17:54 -05:00
Aaron Piotrowski
82e0a68540
Use Stream API for ResultSet 2020-05-21 10:48:42 -05:00
Jáchym Toušek
a4d011c7dd Fix documented return type for Connector::connect (#6) 2019-11-04 20:23:32 +01:00
Aaron Piotrowski
0445ac3562
Parse port from host 2019-09-26 11:23:02 -05:00
Aaron Piotrowski
fcd359de3e
Update readme 2018-10-13 09:23:15 -05:00
Aaron Piotrowski
28afadc6d5
Add "composer test" command 2018-10-13 09:21:12 -05:00
Aaron Piotrowski
3a19be7118
Remove fetch-type parameter 2018-10-13 09:20:59 -05:00
Aaron Piotrowski
5c65ef09c4
Remove classes moved to sql-common 2018-10-13 09:18:07 -05:00
Niklas Keller
a87c1e65f4 Improve README 2018-10-05 21:34:18 +02:00
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