Package BioSQL :: Module BioSeqDatabase :: Class DBServer
[show private | hide private]
[frames | no frames]

Class DBServer


Method Summary
  __init__(self, conn, module, module_name)
  __getitem__(self, name)
  __repr__(self)
  items(self)
  keys(self)
  load_database_sql(self, sql_file)
Load a database schema into the given database.
  new_database(self, db_name, authority, description)
Add a new database to the server and return it.
  remove_database(self, db_name)
Try to remove all references to items in a database.
  values(self)

Method Details

load_database_sql(self, sql_file)

Load a database schema into the given database.

This is used to create tables, etc when a database is first created. sql_file should specify the complete path to a file containing SQL entries for building the tables.

new_database(self, db_name, authority=None, description=None)

Add a new database to the server and return it.

remove_database(self, db_name)

Try to remove all references to items in a database.

Generated by Epydoc 2.1 on Wed Jan 31 09:59:40 2007 http://epydoc.sf.net