OCILIB (C and C++ Driver for Oracle)
4.7.5
Open source and cross platform Oracle Driver delivering efficient access to Oracle databases.
|
OcilibCApiPlSql
OCILIB supports all Oracle collections:
PL/SQL tables are implemented by binding regular C arrays with the array interface (using OCI_BindArrayOfXXX() calls)
VARRAYS and Nested tables are implemented in OCILIB with the type OCI_Coll. It's possible to bind and fetch VARRAYS and Nested tables using OCI_Coll handle.
It's also possible to declare local collections based on some database type without using queries
OCI (and thus OCILIB) offers the possibility to access collection elements :
Collection Items are implemented through the type OCI_Elem and use the series of calls OCI_ElemGetXXX() and OCI_ElemSetXXX() to manipulate elements content values
Functions | |
OCI_SYM_PUBLIC OCI_Coll *OCI_API | OCI_CollCreate (OCI_TypeInfo *typinf) |
Create a local collection instance. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_CollFree (OCI_Coll *coll) |
Free a local collection. | |
OCI_SYM_PUBLIC OCI_Coll **OCI_API | OCI_CollArrayCreate (OCI_Connection *con, OCI_TypeInfo *typinf, unsigned int nbelem) |
Create an array of Collection object. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_CollArrayFree (OCI_Coll **colls) |
Free an array of Collection objects. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_CollAssign (OCI_Coll *coll, OCI_Coll *coll_src) |
Assign a collection to another one. | |
OCI_SYM_PUBLIC OCI_TypeInfo *OCI_API | OCI_CollGetTypeInfo (OCI_Coll *coll) |
Return the type info object associated to the collection. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_CollGetType (OCI_Coll *coll) |
Return the collection type. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_CollGetMax (OCI_Coll *coll) |
Returns the maximum number of elements of the given collection. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_CollGetSize (OCI_Coll *coll) |
Returns the total number of elements of the given collection. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_CollGetCount (OCI_Coll *coll) |
Returns the current number of elements of the given collection. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_CollTrim (OCI_Coll *coll, unsigned int nb_elem) |
Trims the given number of elements from the end of the collection. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_CollClear (OCI_Coll *coll) |
clear all items of the given collection | |
OCI_SYM_PUBLIC OCI_Elem *OCI_API | OCI_CollGetElem (OCI_Coll *coll, unsigned int index) |
Return the element at the given position in the collection. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_CollGetElem2 (OCI_Coll *coll, unsigned int index, OCI_Elem *elem) |
Return the element at the given position in the collection. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_CollSetElem (OCI_Coll *coll, unsigned int index, OCI_Elem *elem) |
Assign the given element value to the element at the given position in the collection. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_CollAppend (OCI_Coll *coll, OCI_Elem *elem) |
Append the given element at the end of the collection. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_CollToText (OCI_Coll *coll, unsigned int *size, otext *str) |
Convert a collection handle value to a string. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_CollDeleteElem (OCI_Coll *coll, unsigned int index) |
Delete the element at the given position in the Nested Table Collection. | |
OCI_SYM_PUBLIC OCI_Iter *OCI_API | OCI_IterCreate (OCI_Coll *coll) |
Create an iterator handle to iterate through a collection. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_IterFree (OCI_Iter *iter) |
Free an iterator handle. | |
OCI_SYM_PUBLIC OCI_Elem *OCI_API | OCI_IterGetNext (OCI_Iter *iter) |
Get the next element in the collection. | |
OCI_SYM_PUBLIC OCI_Elem *OCI_API | OCI_IterGetPrev (OCI_Iter *iter) |
Get the previous element in the collection. | |
OCI_SYM_PUBLIC OCI_Elem *OCI_API | OCI_IterGetCurrent (OCI_Iter *iter) |
Get the current element in the collection. | |
OCI_SYM_PUBLIC OCI_Elem *OCI_API | OCI_ElemCreate (OCI_TypeInfo *typinf) |
Create a local collection element instance based on a collection type descriptor. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemFree (OCI_Elem *elem) |
Free a local collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemGetBoolean (OCI_Elem *elem) |
Return the boolean value of the given collection element. | |
OCI_SYM_PUBLIC OCI_Number *OCI_API | OCI_ElemGetNumber (OCI_Elem *elem) |
Return the number value of the given collection element. | |
OCI_SYM_PUBLIC short OCI_API | OCI_ElemGetShort (OCI_Elem *elem) |
Return the short value of the given collection element. | |
OCI_SYM_PUBLIC unsigned short OCI_API | OCI_ElemGetUnsignedShort (OCI_Elem *elem) |
Return the unsigned short value of the given collection element. | |
OCI_SYM_PUBLIC int OCI_API | OCI_ElemGetInt (OCI_Elem *elem) |
Return the int value of the given collection element. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_ElemGetUnsignedInt (OCI_Elem *elem) |
Return the unsigned int value of the given collection element. | |
OCI_SYM_PUBLIC big_int OCI_API | OCI_ElemGetBigInt (OCI_Elem *elem) |
Return the big int value of the given collection element. | |
OCI_SYM_PUBLIC big_uint OCI_API | OCI_ElemGetUnsignedBigInt (OCI_Elem *elem) |
Return the unsigned big int value of the given collection element. | |
OCI_SYM_PUBLIC double OCI_API | OCI_ElemGetDouble (OCI_Elem *elem) |
Return the Double value of the given collection element. | |
OCI_SYM_PUBLIC float OCI_API | OCI_ElemGetFloat (OCI_Elem *elem) |
Return the float value of the given collection element. | |
OCI_SYM_PUBLIC const otext *OCI_API | OCI_ElemGetString (OCI_Elem *elem) |
Return the String value of the given collection element. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_ElemGetRaw (OCI_Elem *elem, void *value, unsigned int len) |
Read the RAW value of the collection element into the given buffer. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_ElemGetRawSize (OCI_Elem *elem) |
Return the raw attribute value size of the given element handle. | |
OCI_SYM_PUBLIC OCI_Date *OCI_API | OCI_ElemGetDate (OCI_Elem *elem) |
Return the Date value of the given collection element. | |
OCI_SYM_PUBLIC OCI_Timestamp *OCI_API | OCI_ElemGetTimestamp (OCI_Elem *elem) |
Return the Timestamp value of the given collection element. | |
OCI_SYM_PUBLIC OCI_Interval *OCI_API | OCI_ElemGetInterval (OCI_Elem *elem) |
Return the Interval value of the given collection element. | |
OCI_SYM_PUBLIC OCI_Lob *OCI_API | OCI_ElemGetLob (OCI_Elem *elem) |
Return the Lob value of the given collection element. | |
OCI_SYM_PUBLIC OCI_File *OCI_API | OCI_ElemGetFile (OCI_Elem *elem) |
Return the File value of the given collection element. | |
OCI_SYM_PUBLIC OCI_Object *OCI_API | OCI_ElemGetObject (OCI_Elem *elem) |
Return the object value of the given collection element. | |
OCI_SYM_PUBLIC OCI_Coll *OCI_API | OCI_ElemGetColl (OCI_Elem *elem) |
Return the collection value of the given collection element. | |
OCI_SYM_PUBLIC OCI_Ref *OCI_API | OCI_ElemGetRef (OCI_Elem *elem) |
Return the Ref value of the given collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetBoolean (OCI_Elem *elem, boolean value) |
Set a boolean value to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetNumber (OCI_Elem *elem, OCI_Number *value) |
Set a number value to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetShort (OCI_Elem *elem, short value) |
Set a short value to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetUnsignedShort (OCI_Elem *elem, unsigned short value) |
Set a unsigned short value to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetInt (OCI_Elem *elem, int value) |
Set a int value to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetUnsignedInt (OCI_Elem *elem, unsigned int value) |
Set a unsigned int value to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetBigInt (OCI_Elem *elem, big_int value) |
Set a big int value to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetUnsignedBigInt (OCI_Elem *elem, big_uint value) |
Set a unsigned big_int value to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetDouble (OCI_Elem *elem, double value) |
Set a double value to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetFloat (OCI_Elem *elem, float value) |
Set a float value to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetString (OCI_Elem *elem, const otext *value) |
Set a string value to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetRaw (OCI_Elem *elem, void *value, unsigned int len) |
Set a RAW value to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetDate (OCI_Elem *elem, OCI_Date *value) |
Assign a Date handle to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetTimestamp (OCI_Elem *elem, OCI_Timestamp *value) |
Assign a Timestamp handle to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetInterval (OCI_Elem *elem, OCI_Interval *value) |
Assign an Interval handle to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetColl (OCI_Elem *elem, OCI_Coll *value) |
Assign a Collection handle to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetObject (OCI_Elem *elem, OCI_Object *value) |
Assign an Object handle to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetLob (OCI_Elem *elem, OCI_Lob *value) |
Assign a Lob handle to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetFile (OCI_Elem *elem, OCI_File *value) |
Assign a File handle to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetRef (OCI_Elem *elem, OCI_Ref *value) |
Assign a Ref handle to a collection element. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemIsNull (OCI_Elem *elem) |
Check if the collection element value is null. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ElemSetNull (OCI_Elem *elem) |
Set a collection element value to null. | |
OCI_SYM_PUBLIC OCI_Coll *OCI_API OCI_CollCreate | ( | OCI_TypeInfo * | typinf | ) |
#include <api.h>
Create a local collection instance.
typinf | - Type info handle of the collection type descriptor |
Referenced by ocilib::Collection< T >::Collection().
OCI_SYM_PUBLIC boolean OCI_API OCI_CollFree | ( | OCI_Coll * | coll | ) |
#include <api.h>
Free a local collection.
coll | - Collection handle |
OCI_SYM_PUBLIC OCI_Coll **OCI_API OCI_CollArrayCreate | ( | OCI_Connection * | con, |
OCI_TypeInfo * | typinf, | ||
unsigned int | nbelem | ||
) |
#include <api.h>
Create an array of Collection object.
con | - Connection handle |
typinf | - Object type (type info handle) |
nbelem | - number of elements in the array |
OCI_SYM_PUBLIC boolean OCI_API OCI_CollArrayFree | ( | OCI_Coll ** | colls | ) |
#include <api.h>
Free an array of Collection objects.
colls | - Array of Collection objects |
#include <api.h>
Assign a collection to another one.
coll | - Destination Collection handle |
coll_src | - Source Collection handle |
Referenced by ocilib::Collection< T >::Clone().
OCI_SYM_PUBLIC OCI_TypeInfo *OCI_API OCI_CollGetTypeInfo | ( | OCI_Coll * | coll | ) |
#include <api.h>
Return the type info object associated to the collection.
coll | - Collection handle |
Referenced by ocilib::Collection< T >::Append(), and ocilib::Collection< T >::GetTypeInfo().
OCI_SYM_PUBLIC unsigned int OCI_API OCI_CollGetType | ( | OCI_Coll * | coll | ) |
#include <api.h>
Return the collection type.
coll | - Collection handle |
Referenced by ocilib::Collection< T >::GetType().
OCI_SYM_PUBLIC unsigned int OCI_API OCI_CollGetMax | ( | OCI_Coll * | coll | ) |
#include <api.h>
Returns the maximum number of elements of the given collection.
coll | - Collection handle |
Referenced by ocilib::Collection< T >::GetMax().
OCI_SYM_PUBLIC unsigned int OCI_API OCI_CollGetSize | ( | OCI_Coll * | coll | ) |
#include <api.h>
Returns the total number of elements of the given collection.
coll | - Collection handle |
Referenced by ocilib::Collection< T >::GetSize().
OCI_SYM_PUBLIC unsigned int OCI_API OCI_CollGetCount | ( | OCI_Coll * | coll | ) |
#include <api.h>
Returns the current number of elements of the given collection.
coll | - Collection handle |
Referenced by ocilib::Collection< T >::GetCount().
OCI_SYM_PUBLIC boolean OCI_API OCI_CollTrim | ( | OCI_Coll * | coll, |
unsigned int | nb_elem | ||
) |
#include <api.h>
Trims the given number of elements from the end of the collection.
coll | - Collection handle |
nb_elem | - Number of elements to trim |
Referenced by ocilib::Collection< T >::Truncate().
OCI_SYM_PUBLIC boolean OCI_API OCI_CollClear | ( | OCI_Coll * | coll | ) |
#include <api.h>
clear all items of the given collection
coll | - Collection handle |
Referenced by ocilib::Collection< T >::Clear().
#include <api.h>
Return the element at the given position in the collection.
coll | - Collection handle |
index | - Index of the destination element |
Referenced by ocilib::Collection< T >::Get(), ocilib::Collection< T >::IsElementNull(), ocilib::Collection< T >::Set(), and ocilib::Collection< T >::SetElementNull().
OCI_SYM_PUBLIC boolean OCI_API OCI_CollGetElem2 | ( | OCI_Coll * | coll, |
unsigned int | index, | ||
OCI_Elem * | elem | ||
) |
#include <api.h>
Return the element at the given position in the collection.
coll | - Collection handle |
index | - Index of the destination element |
elem | - Element handle to hold the collection item data |
OCI_SYM_PUBLIC boolean OCI_API OCI_CollSetElem | ( | OCI_Coll * | coll, |
unsigned int | index, | ||
OCI_Elem * | elem | ||
) |
#include <api.h>
Assign the given element value to the element at the given position in the collection.
coll | - Collection handle |
index | - Index of the destination element |
elem | - Source element handle to assign |
Referenced by ocilib::Collection< T >::Set().
#include <api.h>
Append the given element at the end of the collection.
coll | - Collection handle |
elem | - Element handle to add |
Referenced by ocilib::Collection< T >::Append().
OCI_SYM_PUBLIC boolean OCI_API OCI_CollToText | ( | OCI_Coll * | coll, |
unsigned int * | size, | ||
otext * | str | ||
) |
#include <api.h>
Convert a collection handle value to a string.
coll | - Collection handle |
size | - Destination string length pointer in characters |
str | - Destination string |
Referenced by ocilib::Collection< T >::ToString().
OCI_SYM_PUBLIC boolean OCI_API OCI_CollDeleteElem | ( | OCI_Coll * | coll, |
unsigned int | index | ||
) |
#include <api.h>
Delete the element at the given position in the Nested Table Collection.
coll | - Collection handle |
index | - Index of the element to delete |
Referenced by ocilib::Collection< T >::Delete().
#include <api.h>
Create an iterator handle to iterate through a collection.
coll | - Collection handle |
OCI_SYM_PUBLIC boolean OCI_API OCI_IterFree | ( | OCI_Iter * | iter | ) |
#include <api.h>
Free an iterator handle.
iter | - Iterator handle |
#include <api.h>
Get the next element in the collection.
iter | - Iterator handle |
#include <api.h>
Get the previous element in the collection.
iter | - Iterator handle |
#include <api.h>
Get the current element in the collection.
iter | - Iterator handle |
OCI_SYM_PUBLIC OCI_Elem *OCI_API OCI_ElemCreate | ( | OCI_TypeInfo * | typinf | ) |
#include <api.h>
Create a local collection element instance based on a collection type descriptor.
typinf | - Type info handle |
Referenced by ocilib::Collection< T >::Append().
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemFree | ( | OCI_Elem * | elem | ) |
#include <api.h>
Free a local collection element.
elem | - Element handle |
Referenced by ocilib::Collection< T >::Append().
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemGetBoolean | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the boolean value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC OCI_Number *OCI_API OCI_ElemGetNumber | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the number value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC short OCI_API OCI_ElemGetShort | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the short value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC unsigned short OCI_API OCI_ElemGetUnsignedShort | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the unsigned short value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC int OCI_API OCI_ElemGetInt | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the int value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC unsigned int OCI_API OCI_ElemGetUnsignedInt | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the unsigned int value of the given collection element.
elem | - Element handle |
#include <api.h>
Return the big int value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC big_uint OCI_API OCI_ElemGetUnsignedBigInt | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the unsigned big int value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC double OCI_API OCI_ElemGetDouble | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the Double value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC float OCI_API OCI_ElemGetFloat | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the float value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC const otext *OCI_API OCI_ElemGetString | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the String value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC unsigned int OCI_API OCI_ElemGetRaw | ( | OCI_Elem * | elem, |
void * | value, | ||
unsigned int | len | ||
) |
#include <api.h>
Read the RAW value of the collection element into the given buffer.
elem | - Element handle |
value | - Buffer to store the RAW value |
len | - Size of the buffer |
OCI_SYM_PUBLIC unsigned int OCI_API OCI_ElemGetRawSize | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the raw attribute value size of the given element handle.
elem | - Element handle |
#include <api.h>
Return the Date value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC OCI_Timestamp *OCI_API OCI_ElemGetTimestamp | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the Timestamp value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC OCI_Interval *OCI_API OCI_ElemGetInterval | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the Interval value of the given collection element.
elem | - Element handle |
#include <api.h>
Return the Lob value of the given collection element.
elem | - Element handle |
#include <api.h>
Return the File value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC OCI_Object *OCI_API OCI_ElemGetObject | ( | OCI_Elem * | elem | ) |
#include <api.h>
Return the object value of the given collection element.
elem | - Element handle |
#include <api.h>
Return the collection value of the given collection element.
elem | - Element handle |
#include <api.h>
Return the Ref value of the given collection element.
elem | - Element handle |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetBoolean | ( | OCI_Elem * | elem, |
boolean | value | ||
) |
#include <api.h>
Set a boolean value to a collection element.
elem | - Element handle |
value | - Short value |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetNumber | ( | OCI_Elem * | elem, |
OCI_Number * | value | ||
) |
#include <api.h>
Set a number value to a collection element.
elem | - Element handle |
value | - number value |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetShort | ( | OCI_Elem * | elem, |
short | value | ||
) |
#include <api.h>
Set a short value to a collection element.
elem | - Element handle |
value | - Short value |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetUnsignedShort | ( | OCI_Elem * | elem, |
unsigned short | value | ||
) |
#include <api.h>
Set a unsigned short value to a collection element.
elem | - Element handle |
value | - Unsigned short value |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetInt | ( | OCI_Elem * | elem, |
int | value | ||
) |
#include <api.h>
Set a int value to a collection element.
elem | - Element handle |
value | - Int value |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetUnsignedInt | ( | OCI_Elem * | elem, |
unsigned int | value | ||
) |
#include <api.h>
Set a unsigned int value to a collection element.
elem | - Element handle |
value | - Unsigned int value |
#include <api.h>
Set a big int value to a collection element.
elem | - Element handle |
value | - big int value |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetUnsignedBigInt | ( | OCI_Elem * | elem, |
big_uint | value | ||
) |
#include <api.h>
Set a unsigned big_int value to a collection element.
elem | - Element handle |
value | - Unsigned big int value |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetDouble | ( | OCI_Elem * | elem, |
double | value | ||
) |
#include <api.h>
Set a double value to a collection element.
elem | - Element handle |
value | - Double value |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetFloat | ( | OCI_Elem * | elem, |
float | value | ||
) |
#include <api.h>
Set a float value to a collection element.
elem | - Element handle |
value | - float value |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetString | ( | OCI_Elem * | elem, |
const otext * | value | ||
) |
#include <api.h>
Set a string value to a collection element.
elem | - Element handle |
value | - String value |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetRaw | ( | OCI_Elem * | elem, |
void * | value, | ||
unsigned int | len | ||
) |
#include <api.h>
Set a RAW value to a collection element.
elem | - Element handle |
value | - Raw value |
len | - Size of the raw value |
#include <api.h>
Assign a Date handle to a collection element.
elem | - Element handle |
value | - Date Handle |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetTimestamp | ( | OCI_Elem * | elem, |
OCI_Timestamp * | value | ||
) |
#include <api.h>
Assign a Timestamp handle to a collection element.
elem | - Element handle |
value | - Timestamp Handle |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetInterval | ( | OCI_Elem * | elem, |
OCI_Interval * | value | ||
) |
#include <api.h>
Assign an Interval handle to a collection element.
elem | - Element handle |
value | - Interval Handle |
#include <api.h>
Assign a Collection handle to a collection element.
elem | - Element handle |
value | - Collection Handle |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetObject | ( | OCI_Elem * | elem, |
OCI_Object * | value | ||
) |
#include <api.h>
Assign an Object handle to a collection element.
elem | - Element handle |
value | - Object Handle |
#include <api.h>
Assign a Lob handle to a collection element.
elem | - Element handle |
value | - Lob Handle |
#include <api.h>
Assign a File handle to a collection element.
elem | - Element handle |
value | - File Handle |
#include <api.h>
Assign a Ref handle to a collection element.
elem | - Element handle |
value | - Ref Handle |
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemIsNull | ( | OCI_Elem * | elem | ) |
#include <api.h>
Check if the collection element value is null.
elem | - Element handle |
Referenced by ocilib::Collection< T >::IsElementNull().
OCI_SYM_PUBLIC boolean OCI_API OCI_ElemSetNull | ( | OCI_Elem * | elem | ) |
#include <api.h>
Set a collection element value to null.
elem | - Element handle |
Referenced by ocilib::Collection< T >::SetElementNull().