MAPG-43 initial classes for DB handling

This commit is contained in:
bence committed 2020-05-28 21:07:59 +02:00
1 parent b821d4a045
commit 17c0ec73df
10 files changed
+881

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
<?php namespace MapGuesser\Interfaces\Database;
interface IResultSet
{
const FETCH_ASSOC = 0;
const FETCH_NUM = 1;
const FETCH_BOTH = 2;
public function fetch(int $type);
public function fetchAll(int $type);
public function fetchOneColumn(string $valueName, string $keyName);
}