Module: Sequel::JDBC::SqlAnywhere

Defined in:
lib/sequel/adapters/jdbc/sqlanywhere.rb

Defined Under Namespace

Modules: DatabaseMethods Classes: Dataset

Class Method Summary collapse

Class Method Details

.SqlAnywhereBoolean(r, i) ⇒ Object


33
34
35
36
# File 'lib/sequel/adapters/jdbc/sqlanywhere.rb', line 33

def self.SqlAnywhereBoolean(r, i)
  v = r.getShort(i)
  v != 0 unless r.wasNull
end