Classes: Table, Column
A field is an instance of Column.
A row is an array of fields.
A column is a collection of attributes: field name, field type,
length, etc.
A table is a set of attributes: table name, SQL statements, etc
A table is also a collection of columns and rows.


steved-clr / daviesfam.org wrote:
> 
> Can anyone point me to example Ruby code that uses an SQL database.
> 
> My application stores TV schedules in a Postgres database etc.
> 
> I'd like to use a Ruby "style" to access the database - specific
> classes for rows from each table or view, etc.  But SQL relational
> style and Ruby object style don't really mesh very cleanly.
> 
> So basically I'm looking to see the approach that others have taken.
> 
> My apps will all be in Ruby so perhaps an SQL database is the wrong
> approach.  I'm also open to other suggestions!
> 
> Thanks,
> Steve Davies

-- 
"It requires wisdom to understand wisdom:
 the music is nothing if the audience is deaf."
 - Walter Lippman