1
0
mirror of https://github.com/danog/postgres.git synced 2024-12-04 02:17:44 +01:00
postgres/lib/Statement.php

15 lines
261 B
PHP
Raw Normal View History

2016-12-30 06:21:17 +01:00
<?php
2016-09-14 16:27:39 +02:00
namespace Amp\Postgres;
use Amp\Promise;
2016-09-14 16:27:39 +02:00
interface Statement {
/**
* @param mixed ...$params
*
* @return \Amp\Promise<\Amp\Postgres\CommandResult|\Amp\Postgres\TupleResult>
2016-09-14 16:27:39 +02:00
*/
2016-11-15 18:06:21 +01:00
public function execute(...$params): Promise;
2016-09-14 16:27:39 +02:00
}