Class Amalgalite::Schema
In: lib/amalgalite/schema.rb
lib/amalgalite/schema.rb
Parent: Object

An object view of the schema in the SQLite database. If the schema changes after this class is created, it has no knowledge of that.

Methods

Attributes

catalog  [R] 
catalog  [R] 
db  [R] 
db  [R] 
dirty  [W] 
dirty  [W] 
schema  [R] 
schema  [R] 
schema_version  [R] 
schema_version  [R] 

Public Class methods

Public Instance methods

load all the columns for a particular table

load all the columns for a particular table

load all the indexes for a particular table

load all the indexes for a particular table

load the schema from the database

load the schema from the database

Load a single table

Load a single table

load all the tables

load all the tables

load a single view

load a single view

load all the views for the database

load all the views for the database

return the tables, reloading if dirty

return the tables, reloading if dirty

return the views, reloading if dirty

return the views, reloading if dirty

[Validate]