delete() public method

Compiles a delete string and runs the query
public delete ( $table = '', $where = '', $limit = NULL, $reset_data = TRUE ) : mixed
return mixed
示例#1
0
 public function delete($id)
 {
     return $this->db->delete($this->table, ['id' => $id]);
 }