OCILIB (C and C++ Driver for Oracle)
4.4.0
|
Provides SQL bind informations. More...
#include <ocilib.hpp>
Inherits ocilib::HandleHolder< OCI_Bind *>.
Public Types | |
enum | BindDirectionValues { In = OCI_BDM_IN, Out = OCI_BDM_OUT, InOut = OCI_BDM_IN_OUT } |
Bind direction enumerated values. More... | |
typedef Enum< BindDirectionValues > | BindDirection |
Bind direction. More... | |
Public Member Functions | |
ostring | GetName () const |
Return the name of the bind object. | |
DataType | GetType () const |
Return the OCILIB type of the data associated with the bind object. | |
unsigned int | GetSubType () const |
Return the OCILIB object subtype of a column. More... | |
unsigned int | GetDataCount () const |
Return the number of elements associated with the bind object. More... | |
Statement | GetStatement () const |
Return the statement 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. More... | |
bool | IsDataNull (unsigned int index=1) const |
Check if the current bind value(s) used in SQL statements is marked as NULL. More... | |
void | SetCharsetForm (CharsetForm value) |
Set the charset form of the given character based bind object. More... | |
BindDirection | GetDirection () const |
Get the direction mode. | |
Provides SQL bind informations.
This class wraps the OCILIB object handle OCI_Bind and its related methods
Definition at line 5321 of file ocilib.hpp.
Bind direction.
Possible values are BindInfo::BindDirectionValues
Definition at line 5349 of file ocilib.hpp.
Bind direction enumerated values.
Definition at line 5332 of file ocilib.hpp.
|
inline |
Return the OCILIB object subtype of a column.
Definition at line 4893 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_BindGetSubtype().
|
inline |
Return the number of elements associated with the bind object.
Definition at line 4898 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_BindGetDataCount().
|
inline |
Mark as null or not null the current bind real value(s) used in SQL statements.
value | - null status value |
index | - Only valid for vectors : index of the element to check |
Definition at line 4908 of file ocilib_impl.hpp.
References ocilib::Check(), OCI_BindSetNotNullAtPos(), and OCI_BindSetNullAtPos().
|
inline |
Check if the current bind value(s) used in SQL statements is marked as NULL.
index | - Only valid for vectors : index of the element to check |
Definition at line 4920 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_BindIsNullAtPos().
|
inline |
Set the charset form of the given character based bind object.
value | - charset form |
Definition at line 4925 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_BindSetCharsetForm().