Kohana V3 return query result as object

Posted by Asif on Stack Overflow See other posts from Stack Overflow or by Asif
Published on 2010-03-29T13:53:07Z Indexed on 2010/05/06 8:58 UTC
Read the original article Hit count: 284

Filed under:
|
|
|

Hi,

In Kohana V3 is it possible to return result set as an array() or any method exists?

For example:

$user = DB::select('*')->from("users")->where('username', '=', $username);

If method is there,then it is possible to get password like

echo $user->password;

Is it possible without ORM? Please suggest.

© Stack Overflow or respective owner

Related posts about kohana

Related posts about kohana-3