Skip to content

Delete

  • Full name: \MammothPHP\WoollyM\Statements\Delete\Delete
  • Parent class: Statement

Methods

execute

Delete all the records from a statement

php
public execute(): \MammothPHP\WoollyM\DataFrame

record

Delete a record by key

php
public record(int $key): \MammothPHP\WoollyM\DataFrame

Parameters:

ParameterTypeDescription
$keyint

Throws:


filter

Remove record if closure return true

php
public filter(mixed $f): \MammothPHP\WoollyM\DataFrame

Parameters:

ParameterTypeDescription
$fmixed- ex: fn(array recordData, int $recordKey): bool => ...


Automatically generated on 2024-07-03

Released under the BSD 3-Clause License.