pyroxide.orm.mapper (version 52 , 2007-04-10 01:15:16 -0700 (Tue, 10 Apr 2007) )
index
/usr/lib/python2.4/site-packages/pyroxide/orm/mapper.py

An Object to Relational mapping module.
 
A mapper class that move data between the domain objects and a relational
database.
 
The architecture is such that the Domain knows nothing of the Mappers,
however, the mapping layer does know of domain objects.

 
Modules
       
logging
pyroxide

 
Classes
       
BaseMapper

 
class BaseMapper
    The Base Object Relational Mapper.
 
This base mapper is intended to be subclassed in order to create a concrete
ORM class.
 
  Methods defined here:
__init__(self, dataMap=None)
Initialize the BaseMapper with a DataMap.
 
Note: The use of the default dataMap parameter value is deprecated.
dataMap should be initialized with a valid DataMap at the time of
initializing the Mapper otherwise there is no checking to ensure the
proper DataMap is used with the correct Mapper.
getFetchTotal(self)
Get the number of rows fetched from an operation.
setFetchLimit(self, offset=0, size=10)
Set the size of the array for fetchmany operations.

 
Data
        SQL = 15
__HeadURL__ = '$URL: http://pyroxide.org/svn/pyroxide/trunk/src/main/python/pyroxide/orm/mapper.py $'
__Id__ = '$Id: mapper.py 52 2007-04-10 08:15:16Z kevin $'
__LastChangedBy__ = '$Author: kevin $'
__LastChangedDate__ = '$Date: 2007-04-10 01:15:16 -0700 (Tue, 10 Apr 2007) $'
__Revision__ = '$Rev: 52 $'
__author__ = 'Kevin J. Smith (kevin@rootsmith.ca)'
__copyright__ = '(c) 2006 rootsmith Inc.'
__credits__ = ''
__date__ = ' 2007-04-10 01:15:16 -0700 (Tue, 10 Apr 2007) '
__version__ = ' 52 '

 
Author
        Kevin J. Smith (kevin@rootsmith.ca)

 
Credits