If you want to use a custom database plugin instead of the built-in PDO-based one, follow these steps:
/myapp/plugins/nanomvc_mydb.php or /myfiles/plugins/nanomvc_mydb.php
class NanoMVC_MYDB extends NanoMVC_PDO {
// Override or extend methods here
}
/myapp/configs/config_database.php$config['yourpool']['plugin'] = 'NanoMVC_MYDB';
Result: NanoMVC will now load your custom database class NanoMVC_MYDB automatically on each request, inheriting the base functionality of NanoMVC_PDO.