Class: OCIBind
Instance Method Summary collapse
-
#get ⇒ Object
begin — OCIDefine#get() get the selected date.
- #set(val) ⇒ Object
Methods inherited from OCIHandle
#attrGet, #attrSet, #free, new
Instance Method Details
#get ⇒ Object
begin
— OCIDefine#get()
get the selected date.
:return value
fetched data. Its datatype is correspond to the 2nd argument of ((<OCIStmt#defineByPos>)).
correspond native OCI function: nothing
end
30 31 32 33 34 35 36 37 38 |
# File 'ext/oci8/define.c', line 30
static VALUE oci8_get_data(VALUE self)
{
oci8_bind_handle_t *defnhp;
VALUE obj;
Data_Get_Struct(self, oci8_bind_handle_t, defnhp);
obj = oci8_get_value(defnhp);
return obj;
}
|
#set(val) ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'ext/oci8/define.c', line 40
static VALUE oci8_set_data(VALUE self, VALUE val)
{
oci8_bind_handle_t *hp;
Data_Get_Struct(self, oci8_bind_handle_t, hp);
oci8_set_value(hp, val);
return self;
}
|