23 #include "ocilibcpp/types.hpp" 28 inline BindInfo::BindInfo(
OCI_Bind *pBind, core::Handle *parent)
30 Acquire(pBind,
nullptr,
nullptr, parent);
OCI_SYM_PUBLIC boolean OCI_API OCI_BindIsNullAtPos(OCI_Bind *bnd, unsigned int position)
Check if the current entry value at the given index of the binded array is marked as NULL...
BindDirection GetDirection() const
Get the direction mode.
unsigned int GetSubType() const
Return the OCILIB object subtype of a column.
Statement GetStatement() const
Return the statement associated with the bind object.
void SetCharsetForm(CharsetForm value)
Set the charset form of the given character based bind object.
OCI_SYM_PUBLIC boolean OCI_API OCI_BindSetNotNullAtPos(OCI_Bind *bnd, unsigned int position)
Set to NOT null the entry in the bind variable input array.
ostring GetName() const
Return the name of the bind object.
core::Enum< DataTypeValues > DataType
Column data type.
OCI_SYM_PUBLIC unsigned int OCI_API OCI_BindGetDirection(OCI_Bind *bnd)
Get the direction mode of a bind handle.
Object used for executing SQL or PL/SQL statement and returning the produced results.
OCI_SYM_PUBLIC unsigned int OCI_API OCI_BindGetDataCount(OCI_Bind *bnd)
Return the number of elements of the bind handle.
OCI_SYM_PUBLIC boolean OCI_API OCI_BindSetNullAtPos(OCI_Bind *bnd, unsigned int position)
Set to null the entry in the bind variable input array.
static T Check(T result)
Internal usage. Checks if the last OCILIB function call has raised an error. If so, it raises a C++ exception using the retrieved error handle.
struct OCI_Bind OCI_Bind
Internal bind representation.
core::Enum< BindDirectionValues > BindDirection
Bind direction.
boolean OCI_API OCI_BindSetCharsetForm(OCI_Bind *bnd, unsigned int csfrm)
Set the charset form of the given character based bind variable.
OCI_SYM_PUBLIC unsigned int OCI_API OCI_BindGetSubtype(OCI_Bind *bnd)
Return the OCILIB object subtype of the given bind.
ostring MakeString(const otext *result, int size=-1)
Internal usage. Constructs a C++ string object from the given OCILIB string pointer.
Template Enumeration template class providing some type safety to some extends for manipulating enume...
DataType GetType() const
Return the OCILIB type of the data associated with the bind object.
void SetDataNull(bool value, unsigned int index=1)
Mark as null or not null the current bind real value(s) used in SQL statements.
unsigned int GetDataCount() const
Return the number of elements associated with the bind object.
OCI_SYM_PUBLIC OCI_Statement *OCI_API OCI_BindGetStatement(OCI_Bind *bnd)
Return the statement handle associated with a bind handle.
bool IsDataNull(unsigned int index=1) const
Check if the current bind value(s) used in SQL statements is marked as NULL.
OCI_SYM_PUBLIC const otext *OCI_API OCI_BindGetName(OCI_Bind *bnd)
Return the name of the given bind.
std::basic_string< otext, std::char_traits< otext >, std::allocator< otext > > ostring
string class wrapping the OCILIB otext * type and OTEXT() macros ( see Character sets ) ...
OCI_SYM_PUBLIC unsigned int OCI_API OCI_BindGetType(OCI_Bind *bnd)
Return the OCILIB type of the given bind.