Parent

Methods

Class/Module Index [+]

Quicksearch

Amalgalite::Index

a class representing the meta information about an SQLite index

Attributes

columns[RW]

the columns that make up this index, in index order

name[R]

the name of the index

sequence_number[RW]

sqlite sequence number of the index

sql[R]

the sql statement that created the index

table[RW]

the table the index is for

unique[W]

is the index unique

Public Class Methods

new( name, sql, table ) click to toggle source
# File lib/amalgalite/index.rb, line 29
def initialize( name, sql, table ) 
  @name             = name
  @sql              = sql
  @table            = table
  @columns          = []
  @sequence_number  = nil
  @unique           = nil
end

Public Instance Methods

unique?() click to toggle source
# File lib/amalgalite/index.rb, line 38
def unique?
  return @unique
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.