1
0
mirror of https://github.com/danog/postgres.git synced 2024-12-15 10:57:22 +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;
}