Changeset 835

Show
Ignore:
Timestamp:
03/12/07 11:15:29 (1 year ago)
Author:
mfenniak
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pg8000/trunk/pg8000-dbapi-test.py

    r834 r835  
    4848cur.execute("INSERT INTO t1 (f1, f2, f3) VALUES (%s, %s, %s)", (1, 1, 1)) 
    4949cur.execute("INSERT INTO t1 (f1, f2, f3) VALUES (%s, %s, %s)", (2, 10, 10)) 
     50cur.execute("INSERT INTO t1 (f1, f2, f3) VALUES (%s, %s, %s)", (3, 100, 10)) 
     51cur.execute("INSERT INTO t1 (f1, f2, f3) VALUES (%s, %s, %s)", (4, 1000, 10)) 
    5052 
    5153print "testing basic query..." 
    52 cur.execute("SELECT * FROM t1"
     54cur.execute("SELECT * FROM t1 WHERE f1 > %s", (2,)
    5355while 1: 
    5456    row = cur.fetchone()