class
CQL::Postgres::Types::DeferredValue(T)
Defined in:
postgres/types/param.crConstructors
Instance Method Summary
-
#inspect(io : IO) : Nil
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
-
#resolve(type_oid : UInt32 | Nil, text_only : Indexable(UInt32)) : Param
Binary when the server's type has an encoding for the value (and is not one the server reads differently from its text), otherwise exactly the text the value would have been sent as.
-
#size_hint : Int32
About how many bytes the parameter will take, for sizing a pipeline batch.
Instance methods inherited from class CQL::Postgres::Types::Deferred
resolve(type_oid : UInt32 | Nil, text_only : Indexable(UInt32)) : Param
resolve,
size_hint : Int32
size_hint
Constructor Detail
Instance Method Detail
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>
Binary when the server's type has an encoding for the value (and is not one the server reads differently from its text), otherwise exactly the text the value would have been sent as.
About how many bytes the parameter will take, for sizing a pipeline batch.