-
Notifications
You must be signed in to change notification settings - Fork 140
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
Why PDO driver doesn't allow list tables and columns #106
Comments
Because PDO is not just MySQL: http://stackoverflow.com/questions/769683/show-tables-in-postgresql#769706 |
Hmm, ok. Fair enough, but the database configuration states if it is |
@hkdobrev in principle I don't see why not, I think that could be useful. But it would need to be done in a clean, sensible way (potentially with some sort of sql abstraction class for each supported backend) and well-tested. If you want to try it, then go ahead - I'd merge it as a new feature (for the 3.4 branch) if the implementation is OK. If not, then it's a nice idea but I can't promise anyone will have time or inclination to work on it. Personally, I'd just add this at the application level if required, or use an existing more fully-featured DB abstraction package like Doctrine. |
There was a discussion about this in the old forums: |
should work.
Any idea why it's made to throw an exception for the PDO driver?
The text was updated successfully, but these errors were encountered: