Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
sqlite3.test.transactions.SpecialCommandTests Class Reference

List of all members.

Public Member Functions

def setUp
def CheckVacuum
def CheckDropTable
def CheckPragma
def tearDown

Public Attributes

 con
 cur

Detailed Description

Definition at line 170 of file transactions.py.


Member Function Documentation

Definition at line 180 of file transactions.py.

00180 
00181     def CheckDropTable(self):
00182         self.cur.execute("create table test(i)")
00183         self.cur.execute("insert into test(i) values (5)")
00184         self.cur.execute("drop table test")

Definition at line 185 of file transactions.py.

00185 
00186     def CheckPragma(self):
00187         self.cur.execute("create table test(i)")
00188         self.cur.execute("insert into test(i) values (5)")
00189         self.cur.execute("pragma count_changes=1")

Definition at line 175 of file transactions.py.

00175 
00176     def CheckVacuum(self):
00177         self.cur.execute("create table test(i)")
00178         self.cur.execute("insert into test(i) values (5)")
00179         self.cur.execute("vacuum")

Definition at line 171 of file transactions.py.

00171 
00172     def setUp(self):
00173         self.con = sqlite.connect(":memory:")
00174         self.cur = self.con.cursor()

Here is the caller graph for this function:

Definition at line 190 of file transactions.py.

00190 
00191     def tearDown(self):
00192         self.cur.close()
00193         self.con.close()

Here is the caller graph for this function:


Member Data Documentation

Definition at line 172 of file transactions.py.

Definition at line 173 of file transactions.py.


The documentation for this class was generated from the following file: