Commit Graph

87 Commits

Author SHA1 Message Date
Aaron Piotrowski
2eeb178aca
Mark identifier as non-empty-string 2023-01-15 21:38:22 -06:00
Aaron Piotrowski
5168b0efc5
Remove unused exception 2022-12-31 13:39:17 -06:00
Aaron Piotrowski
6ac65a30e8
Add SqlConfig test 2022-12-31 13:38:42 -06:00
Aaron Piotrowski
664945b16c
Update to Psalm 5.4 2022-12-31 10:14:59 -06:00
Aaron Piotrowski
34b873da91
Remove minimum stability 2022-12-31 10:14:09 -06:00
Aaron Piotrowski
1f93ed0e0d
Define template type on Result::getNextResult() return 2022-12-17 21:44:57 -06:00
Aaron Piotrowski
261ab56609
Declare strict types 2022-12-17 18:44:07 -06:00
Aaron Piotrowski
48f694d3ab
Add Result::fetchRow() 2022-11-12 23:20:34 -06:00
Niklas Keller
73596dffc1
Fix more template types 2022-09-23 20:30:55 +02:00
Niklas Keller
b2a7d46eb0
Fix template restriction 2022-09-23 20:16:44 +02:00
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