Package psycopg2 :: Module psycopg1 :: Class connection
[show private | hide private]
[frames | no frames]

Type connection

object --+    
         |    
connection --+
             |
            connection


psycopg 1.1.x connection.


Method Summary
switch autocommit on (1) or off (0) autocommit(on_off)
new psycopg 1.1.x compatible cursor object cursor()
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Method Details

autocommit(on_off=1)

Returns:
switch autocommit on (1) or off (0)

cursor()

Returns:
new psycopg 1.1.x compatible cursor object
Overrides:
psycopg2._psycopg.connection.cursor