Result
Less than 1 minute
Result
Properties
arrayColumns
protected array $arrayColumns
meta
protected array $meta
selectGroups
private array $selectGroups
encrypt
private mixed $encrypt
Methods
__toString
public __toString(): string
count
public count(): int
collate
Collates a result into a simple key/value array.
public collate(string $indexColumn, string $valueColumn, string $groupColumn): void
This is useful for generating SELECT lists directly from a resultset.
Parameters
Parameter | Type | Description |
---|---|---|
$indexColumn | string | the column to use as the array index |
$valueColumn | string | the column to use as the array value |
$groupColumn | string | optional column name to group items by |
all
public all(): void
row
public row(int $cursorOrientation = '\PDO::FETCH_ORI_NEXT', int $offset = 0): ?Row
Parameters
Parameter | Type | Description |
---|---|---|
$cursorOrientation | int | |
$offset | int |
rows
public rows(): void
fix
protected fix(array $record): void
Parameters
Parameter | Type | Description |
---|---|---|
$record | array |
decrypt
protected decrypt(array $data): void
Parameters
Parameter | Type | Description |
---|---|---|
$data | array |
Generated by Hazaar API Doc Generator