Package pysqlgtk :: Module models
[hide private]
[frames] | no frames]

Module models

source code

Classes [hide private]
  SqlListModel
a Treemodel that can be used with gtk.TreeView.
  SqlController
This Class controls representation and manipulation of row data (SQLObject Instance) through pygtk widgets
  SqlListController
A controller for navigating through a SqlListModel
Functions [hide private]
 
get_connstr_from_file(filename, passw=None)
reads configuration settings from <i>filename</i> and returns an URI that can be passed as connection string to <i>connectionForURI(connection_string)</i> from sqlobject.
source code
 
get_columntype(column) source code
Variables [hide private]
  DATETIME_IMPLEMENTATION = 'datetime'
  MXDATETIME_IMPLEMENTATION = 'mxDateTime'
Function Details [hide private]

get_connstr_from_file(filename, passw=None)

source code 
reads configuration settings from <i>filename</i> and returns an URI that can be passed as connection string to <i>connectionForURI(connection_string)</i> from sqlobject. If the second parameter <i>passw</i> is given, it will use this as password for the string even if a password is found in the configuration file. If no password is found nor passed as argument, the URI will be formed without password.