Package lexis :: Module phyStorAccess :: Class MySQLPhyConnection
[show private | hide private]
[frames | no frames]

Class MySQLPhyConnection


Handle the connection to a Mysql server: open a connection, create the cursors...
Method Summary
  close(self)
Closes the connection to the server
  execute(self, query)
run an update/delete query
  fetch(self, query)
run an interrogation query
  getCursor(self)
create and return a cursor that handles field names
  getSimpleCursor(self)
create and return a cursor that does not handle field names - just indexes
  insert(self, className)
Run an insert query
  open(self, **kwargs)
Open a connection to the server

Method Details

close(self)

Closes the connection to the server

execute(self, query)

run an update/delete query

fetch(self, query)

run an interrogation query

getCursor(self)

create and return a cursor that handles field names

getSimpleCursor(self)

create and return a cursor that does not handle field names - just indexes

insert(self, className)

Run an insert query

open(self, **kwargs)

Open a connection to the server

Generated by Epydoc 2.0 on Sat Feb 07 21:05:40 2004 http://epydoc.sf.net