module HstoreTranslate

Constants

VERSION

Public Class Methods

native_hstore?() click to toggle source
# File lib/hstore_translate.rb, line 8
def self.native_hstore?
  @native_hstore ||= ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::NATIVE_DATABASE_TYPES.key?(:hstore)
end