class Object
Public Instance Methods
datetime_to_array(val, full)
click to toggle source
# File lib/plsql/oci8_patches.rb, line 8 def datetime_to_array(val, full) result = datetime_to_array_without_timestamp_patch(val, full) if result && result[6] == 0 if val.respond_to? :nsec fsec = val.nsec elsif val.respond_to? :usec fsec = val.usec * 1000 else fsec = 0 end result[6] = fsec end result end
Also aliased as: datetime_to_array_without_timestamp_patch