data PG::StatementCache::Snapshot

The cache's state as an immutable value, to move it to another task with its connection (PG::Lease).

src/statement_cache.qz:16

Methods

def to_h -> Hash[Symbol, Object]

The fields as a Hash, by name.

src/statement_cache.qz:16

def with(*, capacity: Int = …, names: Hash[String, String] = …, order: Array[String] = …, counter: Int = …, to_close: Array[String] = …) -> PG::StatementCache::Snapshot

A copy with the fields given replaced.

src/statement_cache.qz:16

def capacity -> Int

src/statement_cache.qz:16

def names -> Hash[String, String]

src/statement_cache.qz:16

def order -> Array[String]

src/statement_cache.qz:16

def counter -> Int

src/statement_cache.qz:16

def to_close -> Array[String]

src/statement_cache.qz:17