mirror of
https://github.com/danog/postgres.git
synced 2025-01-07 13:40:25 +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;
|
|
}
|