Hello

In the model, when I call the following function:

Code:
return $this->fetchOne($sql);
I get this error:
Fatal error: Call to undefined method Questions::fetchOne() in /var/www/abc/application/models/Users.php on line 101

But when I call this:
Code:
return $this->_db->fetchOne($sql);
It works fine..

Can someone please tell me why is this hapenning? Why do we need to call the _db to make it work? Is there anyway we can call $this->fetchOne($sql); directly?


Many thanks in advance