Editar propiedad en venta
This commit is contained in:
@ -86,6 +86,13 @@ class PropiedadUnidad extends Ideal\Repository
|
||||
->group('`unidad`.`id`');
|
||||
return $this->fetchMany($query, [$propiedad_id]);
|
||||
}
|
||||
public function remove(Define\Model $model): void
|
||||
{
|
||||
$query = $this->connection->getQueryBuilder()
|
||||
->delete()->from($this->getTable())
|
||||
->where("id = ?");
|
||||
$this->connection->execute($query, [$model->pu_id]);
|
||||
}
|
||||
|
||||
protected function update(Define\Model $model, array $columns, array $data): Define\Model
|
||||
{
|
||||
|
Reference in New Issue
Block a user