17 lines
327 B
PHP
17 lines
327 B
PHP
<?php namespace SokoWeb\Interfaces\Database;
|
|
|
|
interface IResultSet
|
|
{
|
|
const FETCH_ASSOC = 0;
|
|
|
|
const FETCH_NUM = 1;
|
|
|
|
const FETCH_BOTH = 2;
|
|
|
|
public function fetch(int $type): ?array;
|
|
|
|
public function fetchAll(int $type): array;
|
|
|
|
public function fetchOneColumn(string $valueName, string $keyName): array;
|
|
}
|