Commit Graph

77 Commits

Author SHA1 Message Date
Aaron Piotrowski
226053b28b
Annotate Traversable type on Result 2022-07-17 11:16:06 -05:00
Aaron Piotrowski
390fb800bb
Add throws annotation to connect() 2022-07-10 11:28:12 -05:00
Aaron Piotrowski
4a1c63240e
Add template types to most interfaces 2022-07-08 16:55:14 -05:00
Aaron Piotrowski
3060e7f9f1
Remove close from Executor, part of TransientResource now 2022-06-21 19:36:37 -05:00
Aaron Piotrowski
261e762d13
Update LICENSE 2022-06-21 16:55:27 -05:00
Aaron Piotrowski
ca11796cc1
Extend Closable in TransientResource 2022-06-21 16:50:30 -05:00
Niklas Keller
aa1144f3e4 Update LICENSE date 2022-06-12 23:01:02 +02:00
Niklas Keller
4e5591804d Remove old Travis CI config 2022-06-12 23:00:44 +02:00
Aaron Piotrowski
4b1402e5fc
Make TransactionIsolation an interface
Switched the enum to implementing the new interface. e.g., MS SQL has a snapshot isolation level, so best to not be strictly limited to an enum.
2022-05-27 09:11:31 -05:00
Aaron Piotrowski
52a30eeded
Add cancellation to connect() 2022-04-11 22:56:21 -05:00
Aaron Piotrowski
dcbe6ff712
TransactionIsolation helper methods 2022-04-11 22:27:36 -05:00
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