Sha256: f7e4510c4856529620e2896c47aa0fdd13d921eb3d68b849adf420a103b5a1e2
Contents?: true
Size: 896 Bytes
Versions: 14
Compression:
Stored size: 896 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 table # class Table # the schema object the table is associated with attr_accessor :schema # the table name attr_reader :name # the original sql that was used to create this table attr_reader :sql # hash of Index objects holding the meta informationa about the indexes # on this table. The keys of the indexes variable is the index name attr_accessor :indexes # a hash of Column objects holding the meta information about the columns # in this table. keys are the column names attr_accessor :columns def initialize( name, sql ) @name = name @sql = sql @indexes = {} @columns = {} end end end
Version data entries
14 entries across 14 versions & 1 rubygems