Kohana3 ORM newbie here.
I got few fast questions:
I got a following code
$user = ORM::factory('user')->where('key', '=', $key)->find();
. IT's working correctly however... How to check if the query return anything?When I'm trying to update, new record is being instered. Why?
$user->status = '1'; $user->save();