oid->instance
Name
oid->instance -- Return the identified row as an instance.
Type: function
Synopsis
oid->instance
( cnxn table-name class oid, instance);
Arguments
- cnxn
An instance of <pg95-connection>
- table-name
An instance of <string>
- class
An instance of <<class>>
- oid
An instance of <fixnum>
Return Values
- instance
An instance of class
Description
Builds a single object (instance of class) from the row
in table table-name with the given object id, oid.
In PostgresQL, every row (tuple) in the entire system has a unique
identity. This is like object identity. (And, like object identity
encoded in pointers, may be reused for a new row after the row is deleted).