refactor connection
This commit is contained in:
parent
860fe1144c
commit
190e8c1329
@ -5,6 +5,8 @@ namespace Amp\Sql;
|
|||||||
use Amp\Promise;
|
use Amp\Promise;
|
||||||
|
|
||||||
interface Connection extends Link {
|
interface Connection extends Link {
|
||||||
|
public function connect(): Promise;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return bool False if the connection has been closed.
|
* @return bool False if the connection has been closed.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user