Yes and no. Cake automatically loads up the correct driver as long as you tell it the type of database you're connecting to, but using Model::execute forces you to write queries by hand, which means, you'd have to do your database-specific translation manually.
Unfortunately, none of Cake's database drivers currently support generating table-builder queries. The best thing I can do is point you in the direction of cake/scripts/acl.php. If you look at what happens for the "initdb" command, you can get an idea of how to use the data in the drivers to build a table manually. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
