Comments (4)
Because PDO is not just MySQL: http://stackoverflow.com/questions/769683/show-tables-in-postgresql#769706
from database.
Hmm, ok. Fair enough, but the database configuration states if it is MySQL
or not. Can't we actually implement different queries based on the database specified in the DSN?
from database.
@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.
from database.
There was a discussion about this in the old forums:
from database.
Related Issues (11)
- Bug in Database_Query_Insert: bad SQL for bulk insert HOT 2
- Transaction HOT 7
- [Enhancement] Cassandra
- dry-run uses MySQL driver
- UNION will break with newer versions
- Insert query builder allows to use table alias in INSERT ... SELECT ... construction HOT 17
- Error in Select - AS (column aliases) query builder documentation HOT 3
- New session fails to insert after restart or destroy
- add MySQLi driver HOT 7
- Session trouble with searching-bots and Session::write() (more with Database_Session) HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from database.