1
0
mirror of https://github.com/danog/postgres.git synced 2024-11-30 04:29:12 +01:00
postgres/lib/Internal/StatementStorage.php
Aaron Piotrowski 0c3b70633c
Reuse statement handles
Allows the same query to be prepared multiple times on a single connection without error or performance penalty.
2017-07-27 23:20:46 -05:00

16 lines
201 B
PHP

<?php
namespace Amp\Postgres\Internal;
use Amp\Struct;
class StatementStorage {
use Struct;
/** @var \Amp\Promise|null */
public $promise;
/** @var int */
public $count = 1;
}