$query = DB::select('test')->from('examples'); $result = $query->as_object()->execute(); $data = $result->as_array();
$query = DB::update('examples')->set($set_array)->where('example_id', '=', $example_id); $rows_affected = $query->execute();
It looks like you're new here. If you want to get involved, click one of these buttons!