soko-web/src/Interfaces/Database/IResultSet.php
Pőcze Bence a17a88e9d4
All checks were successful
soko-web/pipeline/head This commit looks good
initial commit for soko-web
2023-04-07 19:32:15 +02:00

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;
}