Class Amalgalite::Table
In: lib/amalgalite/table.rb
Parent: Object

a class representing the meta information about an SQLite table

Methods

new  

Attributes

columns  [RW]  a hash of Column objects holding the meta information about the columns in this table. keys are the column names
indexes  [RW]  hash of Index objects holding the meta informationa about the indexes on this table. The keys of the indexes variable is the index name
name  [R]  the table name
schema  [RW]  the schema object the table is associated with
sql  [R]  the original sql that was used to create this table

Public Class methods

[Source]

    # File lib/amalgalite/table.rb, line 28
28:     def initialize( name, sql ) 
29:       @name    = name
30:       @sql     = sql
31:       @indexes = {}
32:       @columns = {}
33:     end

[Validate]