disconnect
and the entire code is covered by Unit Test.
I was thinking to create a DBAction class as an extension of the RainDB (may be using traits?) to implement the following methods:
createDB
deleteDB
ranameDB
createTable
deleteTable
renameTable
alterTable // change fields
insert // insert row
delete // delete row
update // update the value of a row
This class will be useful especially for the RainCMS as in the RainFramework instead of RainDB you may want to use an ORM like Doctrine. Let me know your thoughts!