OCILIB (C and C++ Driver for Oracle)
4.6.3
|
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... | |
enum | VectorTypeValues { AsArray = 1, AsPlSqlTable = 2 } |
Vector type values. More... | |
typedef Enum< BindDirectionValues > | BindDirection |
Bind direction. More... | |
typedef Enum< VectorTypeValues > | VectorType |
Vector type. 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 5512 of file ocilib.hpp.
Bind direction.
Possible values are BindInfo::BindDirectionValues
Definition at line 5540 of file ocilib.hpp.
Vector type.
Possible values are BindInfo::VectorTypeValues
Definition at line 5562 of file ocilib.hpp.
Bind direction enumerated values.
Definition at line 5523 of file ocilib.hpp.
Vector type values.
Enumerator | |
---|---|
AsArray | Vector is binded as an array in a regular DML array operation |
AsPlSqlTable | Vector is binded as a PL/SQL index by table |
Definition at line 5547 of file ocilib.hpp.
|
inline |
Return the OCILIB object subtype of a column.
Definition at line 5055 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 5060 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 5070 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 5082 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 5087 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_BindSetCharsetForm().