Package lemon :: Package db :: Package builder :: Package drivers :: Module db
[show private | hide private]
[frames | no frames]

Module lemon.db.builder.drivers.db

Function Summary
  addRow(table, fields, values)
  average(table, name)
Returns the average value of the column 'name'.
  colUnique(table, name, value, type)
  exists(table)
  fieldsExist(table, fields, rowid)
  getRow(table, fields, rowid)
  max(table, name)
Returns the highest value in the column 'name'.
  min(table, name)
Returns the lowest value in the column 'name'.
  newID(table)
  removeRow(table, rowid)
  removeRows(table, query)
  rowExists(table, rowid)
  rowids(table, where, order)
Returns a list of row 'rowid's which rows matching the criteria.
  sum(table, name)
Returns the sum of the values in the column 'name'.
  updateRow(table, rowid, fields, values)

Variable Summary
NoneType database = None                                                                  

Function Details

average(table, name)

Returns the average value of the column 'name'.

max(table, name)

Returns the highest value in the column 'name'.

min(table, name)

Returns the lowest value in the column 'name'.

rowids(table, where=None, order=None)

Returns a list of row 'rowid's which rows matching the criteria.

sum(table, name)

Returns the sum of the values in the column 'name'.

Variable Details

database

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.0 on Mon Nov 10 15:08:02 2003 http://epydoc.sf.net