Andreas Carl Wägner

Results 2 issues of Andreas Carl Wägner

Looked through your code I noticed calling the controller in two different ways. First in tinymvc_model you do it this way ``` tmvc::instance()->controller->load->database($poolname); ``` But in tinymvc_load you do it...

Notice that PDO::FETCH_CLASS wasn't supported by the TinyMVC_PDO class $fetch_mode. By adding $class and $ctorargs arguments on all method using $fetch_mode. Plus side is that PDO::FETCH_INTO now works aswell Example:...