the number of parameters of a prepared statement. This function is only useful when inspecting the result of #describe_prepared. For other types of queries it will return zero.
the datatype of the indicated statement parameter. Parameter numbers start at 0. This function is only useful when inspecting the result of #describe_prepared. For other types of queries it will return zero.
raisesOid
if there was no corresponding ftype for the internal oid.
the oid of the indicated statement parameter. Parameter numbers start at 0. This function is only useful when inspecting the result of #describe_prepared. For other types of queries it will return zero.
raisesError
if field out of range.
method fmod : int -> int
#fmod n
returns
type-specific modification data of the nth field.
raisesError
if field out of range.
method fsize : int -> int
#fsize n
returns
size in bytes of the nth field.
raisesError
if field out of range.
method binary_tuples : bool
#binary_tuples
returns
true iff result contains binary tuple data.
Retrieving SELECT Result Values
method getvalue : int ->int -> string
#getvalue tuple field
returns
value of field in tuple.
raisesError
if tuple out of range.
raisesError
if field out of range.
method get_escaped_value : int ->int -> string
#get_escaped_value tuple field
returns
escaped value of field in tuple.
raisesError
if tuple out of range.
raisesError
if field out of range.
method getisnull : int ->int -> bool
#getisnull tuple field tests for a NULL-value of field in tuple.
the object ID of the inserted row if the SQL command was an INSERT that inserted exactly one row into a table that has OIDs. Otherwise, returns invalid_oid.