catfan / Medoo

The lightweight PHP database framework to accelerate the development.
https://medoo.in
MIT License
4.83k stars 1.15k forks source link

Table Prefix for query #296

Closed elbakerino closed 7 years ago

elbakerino commented 8 years ago

Dear Catfan,

i used some features, but didn't found something for "TRUNCATE TABLE xy". Then I used 'query', and after analyze this method, I see that there is nowhere the property prefix. Did I overlook something? When not: A method for truncate (MySQL) would be nice. And if the prefix would be applied to every table that is accessed via the query method, but this could be very complicated (and slow).

a nice day! michael

ramiel commented 7 years ago

Why was this closed? Is there a solution?

elbakerino commented 7 years ago

I don't know, have build a wrapper class which extends medoo with things I need. Could be that truncate is not everywhere possible, etc. Haven't got many experiences beside MySQL.