mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-15 12:37:34 +08:00
announce support pg
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
namespace Nexus\Database;
|
||||
|
||||
use PDOStatement;
|
||||
|
||||
interface DBInterface
|
||||
{
|
||||
public function connect($host, $username, $password, $database, $port, $driver = 'mysql');
|
||||
@@ -29,4 +31,6 @@ interface DBInterface
|
||||
|
||||
public function freeResult($result);
|
||||
|
||||
public function prepare(string $sql): PDOStatement;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user