PDOwrapper subwrapper containing additional functions based on codeigniter code