-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PdoReader #126
Add PdoReader #126
Conversation
Looks like this fails on PHP 5.3.. I can remove the |
Thanks! Please make the code PHP 5.3 compatible (for now). And could you add a note to the docs, too? |
b77cca7
to
341c726
Compare
341c726
to
ef9bf02
Compare
Updated.. but I have no idea why the tests are failing.. they pass fine for me locally. |
|
||
// Build schema | ||
$connection->query('CREATE TABLE pdo_group ( | ||
id INTEGER PRIMARY KEY, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you set this column to autoincrement to pass the tests?
…balReader" This reverts commit df871d1.
@rjmackay Are you still working on it? |
I've had to shelve it while I continue on other work. |
Conflicts: tests/Ddeboer/DataImport/Tests/Reader/PdoReaderTest.php
Excellent finally got a test pass. @Baachi any other changes needed? |
Looks good! Can you add a short entry for this reader to the docs (README.md)? |
Add PdoReader class and unit tests.
Roughly copied from DBAL reader. I needed a simple DB reader that doesn't require DBAL.