tommyknocker / pdo-database-class

PHP PDO Wrapper which utilizes PDO and prepared statements
GNU Lesser General Public License v3.0
69 stars 46 forks source link

Raw query changes the DB prefix #16

Open brunoMachado92 opened 1 year ago

brunoMachado92 commented 1 year ago

Hello,

when using the raw query, the database prefix gets changed. For example, my prefix is gda and when using the raw query, i get an error saying "Base table or view not found: 1146 Table 'gda.product' doesn't exist ". I've set the prefix doing: `$db->setPrefix('gda');` What can be the issue here?

Cheers!