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\DataFramerecord
Delete a record by key
php
public record(int $key): \MammothPHP\WoollyM\DataFrameParameters:
| Parameter | Type | Description |
|---|---|---|
$key | int |
Throws:
filter
Remove record if closure return true
php
public filter(mixed $f): \MammothPHP\WoollyM\DataFrameParameters:
| Parameter | Type | Description |
|---|---|---|
$f | mixed | - ex: fn(array recordData, int $recordKey): bool => ... |
Automatically generated on 2024-07-03