lib/libis/services/oracle_client.rb in libis-services-1.0.12 vs lib/libis/services/oracle_client.rb in libis-services-1.0.13
- old
+ new
@@ -62,11 +62,11 @@
def parse(statement)
oci.parse(statement)
end
- def cursor_exec(cursor, **binvars)
- bindvars.each { |k, v| cursor.bind_param(k, v) }
+ def cursor_exec(cursor, **bindvars)
+ bindvars.each { |k, v| cursor.bind_param(k.to_sym, v) }
cursor.exec
end
def table(name)
metadata = oci.describe_table(name)