Matthew Peveler
Matthew Peveler
Alright, so through this, we'll need to also document the `open_basedir` limitation along with `cache` and `mode` options. Implementation idea: 1. If `memory` and `mode` are set, throw an error...
No. It'll actually make the problem "worse" in that now anything starting with `CURRENT_TIMESTAMP` would fail (e.g. `CURRENT_TIMESTAMP IS A DUMB DEFAULT`), and looking at that issue got me to...
With the merging of #1627, it is now possible to also specify a fetch_mode as a configuration option. I would expect that for sending in a PDO connection explicitly or...
An example testcase that fails on the current implementation: ```php public function testConnectionWithFetchModeNum() { $options = $this->adapter->getOptions(); $options['fetch_mode'] = 'num'; $this->adapter->setOptions($options); $this->assertInstanceOf('PDO', $this->adapter->getConnection()); $this->assertSame(\PDO::FETCH_NUM, $this->adapter->getConnection()->getAttribute(\PDO::ATTR_DEFAULT_FETCH_MODE)); $table = new \Phinx\Db\Table('ntable', [],...
For follow-up on this from discussion elsewhere, #1890 made it so that a deprecation warning will be triggered when using this value in 0.13.0 and then support for it will...
What exactly are you looking to have here? Where you can define an `.env` file with say the following: ``` DATABASE_URL="mysql://db_user:[email protected]:3306/db_name" ``` and it'll work, with everything else (paths, phinx...
Alright, sounds like this is two things: 1. allow all non-db connection fields (e.g. `paths`) to have sensible defaults 2. flatten out the `environments` into a singular array For point...
Related to this, it would also be good to pull the `name` automatically out of the `connection` attribute (#1309 requested as much). The devil in the details here is just...
It could be useful if you were running your queries directly through `execute()` method on a Migration and want some capacity to quote stuff yourself for cross-DB usage, without having...
It'd have to go into the major version as it's an interface break? It's also like this is (for non-extended purposes) exposing anything you couldn't get by just doing `$this->getAdapter()->getConnection()->quote()`...