Module: WiseGopher

Defined in:
lib/wise_gopher.rb,
lib/wise_gopher/row.rb,
lib/wise_gopher/base.rb,
lib/wise_gopher/param.rb,
lib/wise_gopher/column.rb,
lib/wise_gopher/errors.rb,
lib/wise_gopher/version.rb,
lib/wise_gopher/raw_param.rb

Overview

base module

Defined Under Namespace

Modules: Row, VERSION Classes: ArgumentError, Base, Column, Error, Param, ParamAlreadyDeclared, RawParam, RowClassIsMissing, RowClassNeedsRowModule, UndeclaredColumns

Class Method Summary collapse

Class Method Details

.postgresql?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/wise_gopher.rb', line 15

def self.postgresql?
  ActiveRecord::Base.connection.adapter_name.casecmp? "PostgreSQL"
end