⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Database drivers... PDO?



Trellian

Trellian
  • profile picture
  • Member

Posted 04 April 2013 - 13:55 PM

Is it possible to use the PDO drivers with GC?

 

Thanks Adrian

 


davidoster

davidoster
  • profile picture
  • Member

Posted 05 April 2013 - 16:27 PM

I think you will need to change the default GC model in order to be able to use the PDO drivers.


goFrendiAsgard

goFrendiAsgard
  • profile picture
  • Member

Posted 14 June 2013 - 23:34 PM

Sadly groceryCRUD use some queries specific to mysql such a "CONCAT", "COALESCE" and "GROUP_CONCAT"
I've also try to use PDO, but it seems that davidoster was right. I should modify the model.
Maybe later :P

 

EDIT: also, to make it worse
groceryCRUD use "SHOW COLUMNS FROM table_name" which is only valid for MySQL and I don't know how to make a "generic" query for that :P