Lines Matching refs:Database
5 # Object Database Api
13 # - a simple object-like interface to database data
14 # - database independent (someday)
30 # # open database
35 # db = Database(ndb)
86 # Database
89 # the DB adaptors for different database types....
92 class Database:
141 raise AttributeError, "odb.Database: not initialized properly, self._tables does not exist"
147 raise AttributeError, "odb.Database: unknown attribute %s" % (key)
219 def __init__(self,database,table_name,
221 self.db = database
226 self.__defaultRowClass = database.getDefaultRowClass()
231 self.__defaultRowListClass = database.getDefaultRowListClass()
360 print " There are columns defined in the database schema that do"
368 print " that do not match the database's schema."
436 # really simplistic database size computation: