/** * Delete Item from table * * @param callable|array|int $terms * @return int */ public function delete($terms) { if (!$this->table) { return false; } if (false === $this->destructive) { return $this->update(['deleted' => 'Y'], $terms); } $query = $this->db->delete($this->table); $this->normalizeTerms($query, $terms); return $query->execute(); }