DB.PHP - PHP ORM

Generate sql dump for database changes and save to file

Instead of running alter queries when using $database->update() you can save that queries to file for further testing and usage:

$database->update('\path\to\database_changes.sql');

Note: In case of dump file in case of multi sql server/data source architecture you will not be able to distinguish which query belongs to which connection