Package logilab :: Package common :: Module adbh
[frames] | no frames]

Module adbh

source code

Helpers for DBMS specific (advanced or non standard) functionalities.

Helpers are provided for postgresql, mysql and sqlite.

:copyright:
  2000-2009 `LOGILAB S.A. <http://www.logilab.fr>`_ (Paris, FRANCE),
  all rights reserved.

:contact:
  http://www.logilab.org/project/logilab-common --
  mailto:python-projects@logilab.org

:license:
  `General Public License version 2
  <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>`_

Classes
  AVG
  AggrFunctionDescr
  BadQuery
  COUNT
  DATE
  FunctionDescr
  IN
this is actually a 'keyword' function...
  LENGTH
  LOWER
  MAX
  MIN
  RANDOM
  SUM
  UPPER
  UnsupportedFunction
  metafunc
Functions
 
auto_register_function(funcdef)
register the function `funcdef` on supported backends
source code
 
get_adv_func_helper(driver)
returns an advanced function helper for the given driver
source code
 
pgdbcmd(cmd, dbhost, dbuser) source code
 
register_function(driver, funcdef) source code
Variables
  ADV_FUNC_HELPER_DIRECTORY = {'mysql': <logilab.common.adbh._My...
  __package__ = None
hash(x)
Variables Details

ADV_FUNC_HELPER_DIRECTORY

Value:
{'mysql': <logilab.common.adbh._MyAdvFuncHelper instance at 0x4084cf6c\
>,
 'postgres': <logilab.common.adbh._PGAdvFuncHelper instance at 0x4084c\
f2c>,
 'sqlite': <logilab.common.adbh._SqliteAdvFuncHelper instance at 0x408\
4cf4c>}