Sha256: 6d5870e623e5b27f0e530c903496eb371230f96d22e4b27399df96483e4b3f9f
Contents?: true
Size: 908 Bytes
Versions: 91
Compression:
Stored size: 908 Bytes
Contents
#-- # Copyright (c) 2008 Jeremy Hinegardner # All rights reserved. See LICENSE and/or COPYING for details. #++ module Amalgalite # # a class representing the meta information about an SQLite index # class Index # the name of the index attr_reader :name # the sql statement that created the index attr_reader :sql # the table the index is for attr_accessor :table # the columns that make up this index, in index order attr_accessor :columns # sqlite sequence number of the index attr_accessor :sequence_number # is the index unique attr_writer :unique def initialize( name, sql, table ) @name = name @sql = sql @table = table @columns = [] @sequence_number = nil @unique = nil end def unique? return @unique end end end
Version data entries
91 entries across 91 versions & 2 rubygems