<<< Contents >>>

Basic usage (1)

Module methods

SOP::attach (Klass, dbh, "db_table_name", attrib1, attrib2, ...) => nil
Binds SOP methods to Klass (and its instances), mapping 'attrib1', 'attrib2', to db fields of the same name
Klass.fetch (unique_obj_id) => obj | nil
Returns an instance of Klass with oid matching 'unique_obj_id', or nil if no such object exists

Copyright © 2003 Lennon Day-Reynolds -- lennon@day-reynolds.com