class

Ralph::Migrations::Schema::GistIndexDefinition

Inherits Reference / Object

Represents a GiST (Generalized Search Tree) index

GiST indexes are optimized for:

  • Geometric data types (point, circle, polygon)
  • Range types
  • Full-text search (alternative to GIN)
  • Nearest-neighbor searches

Example

create_table :locations do |t|
  t.float :latitude
  t.float :longitude
  t.gist_index [:latitude, :longitude]
end

Constructors

new(table : String, columns : String | Array(String), name : String)
Source

Instance methods

columns
Source
name
Source
table
Source
to_drop_sql
Source
to_sql
Source