Method: Filch::Attributes#types

Defined in:
lib/filch.rb

#typesObject

TODO: setup defaults based on column_type



360
361
362
363
364
365
366
367
# File 'lib/filch.rb', line 360

def types
  {
    integer: %w[eq lt gt],
    string: %w[null eq start matches],
    text: types_hash['string'],
    boolean: %w[null]
  }
end