currently i'm using codeigniter then i see that can use the library db in 2 styles
$result = $this->db->select($id)
->select($field)
->get('user');
and like this
$this->db->select($id)
$this->db->select($field)
$result = $this->db->get('user');
to a better designer which style is better, exist some pattern between developers php codeigniter