mini\Database\Query::withHydrator()
Method
public
Signature
public function withHydrator(Closure $hydrator): static
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$hydrator |
Closure |
required | Documentation missing |
Returns
static
Documentation
Transform each row with a custom hydrator