code: public function deleteById($id)
  	{
  		$where = new Where();
  
  		if (is_array($id)) {
  			if (count($id) == 0) {
  				return null;
  			}
  			$where->in('id', $id);
  		} else {
  			$where->equalTo('id', $id);
  		}
  
  		return $this->fetchByWhere($where);
  	}
docs: Delete jobs(s) by its/their ID(s).
  
  @param integer|array $id
  @return Result|HydratingResultSet|JobEntity|null