I am new to Kohana, and I would like to know what the difference is between:
$query = DB::select()->from('codes')->where('name', '=', 'PHP')->execute($mydb);
$query = DB::query(Database::SELECT, 'SELECT * FROM codes WHERE name = :name');
$query->param(':name', 'PHP');