Flowdock
method

oci_downcase

Importance_1
v1.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::OCIAdapter
  • 1.0.0 (0)
  • 1.1.1
  • 1.1.6
  • 1.2.0
  • 1.2.6
  • 2.0.0
  • 2.0.3
  • 2.1.0
  • 2.2.1
  • 2.3.2
  • 2.3.8
  • 3.0.0
  • 3.0.5
  • 3.0.9
  • 3.1.0
  • 3.2.1
  • 3.2.3
  • 3.2.8
  • 3.2.13
  • 4.0.2
  • What's this?
oci_downcase(column_name) private

Oracle column names by default are case-insensitive, but treated as upcase; for neatness, we’ll downcase within Rails. EXCEPT that folks CAN quote their column names when creating Oracle tables, which makes then case-sensitive. I don’t know anybody who does this, but we’ll handle the theoretical case of a camelCase column name. I imagine other dbs handle this different, since there’s a unit test that’s currently failing test_oci.

Show source
Register or log in to add new notes.