mirror of
https://github.com/danog/postgres.git
synced 2024-12-04 18:28:33 +01:00
15 lines
261 B
PHP
15 lines
261 B
PHP
<?php
|
|
|
|
namespace Amp\Postgres;
|
|
|
|
use Amp\Promise;
|
|
|
|
interface Statement {
|
|
/**
|
|
* @param mixed ...$params
|
|
*
|
|
* @return \Amp\Promise<\Amp\Postgres\CommandResult|\Amp\Postgres\TupleResult>
|
|
*/
|
|
public function execute(...$params): Promise;
|
|
}
|