Welcome Guest, Not a member yet? Register   Sign In
Prevent database connection creating a model
#1

[eluser]Juan Ignacio Borda[/eluser]
hi im using CI with mongoDB (which has no driver available yet) and i'm wondering if is it possible to prevent connecting to a database when creating a model (i have mongodb funcionality in a library)

Thanks in advance
Juan
#2

[eluser]WanWizard[/eluser]
Code:
$this->load->model('my_model', '', FALSE);
#3

[eluser]Juan Ignacio Borda[/eluser]
wow! that was fast! and easy! thanks a lot!




Theme © iAndrew 2016 - Forum software by © MyBB