TestPDOStatement
Less than 1 minute
TestPDOStatement
- Full name:
\Hazaar\DBI\DBD\TestPDOStatement
- Parent class:
PDOStatement
Properties
testData
private array<int,mixed> $testData
tableName
private ?string $tableName
Methods
setTestData
public setTestData(string $tableName, array<int,mixed> $data): void
Parameters:
Parameter | Type | Description |
---|---|---|
$tableName | string | |
$data | array<int,mixed> |
columnCount
public columnCount(): int
getColumnMeta
public getColumnMeta(int $column): array<string,mixed>
Parameters:
Parameter | Type | Description |
---|---|---|
$column | int |
fetch
public fetch(int $fetchStyle = PDO::FETCH_BOTH, int $cursorOrientation = PDO::FETCH_ORI_NEXT, int $cursorOffset): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$fetchStyle | int | |
$cursorOrientation | int | |
$cursorOffset | int |
Automatically generated on 2024-11-14