abstract class CQL::Postgres::Types::Deferred

Overview

A value whose wire form waits for the parameter's type: the statement has to be described first, and only then is it known whether the server's type has a binary encoding for this value (see Binary). It stands in for a Param until #resolve is called with the type the server reported.

Direct Known Subclasses

Defined in:

postgres/types/param.cr

Instance Method Summary

Instance Method Detail

abstract def resolve(type_oid : UInt32 | Nil, text_only : Indexable(UInt32)) : Param #

[View source]
abstract def size_hint : Int32 #

About how many bytes the parameter will take, for sizing a pipeline batch.


[View source]