test case: with user-provided type other than table field type

This commit is contained in:
freemine 2020-10-17 06:25:17 +08:00
parent 1c52e6598e
commit 2436485e9b
1 changed files with 8 additions and 0 deletions

View File

@ -113,3 +113,11 @@ while row:
row = cursor.fetchone() row = cursor.fetchone()
cursor.close() cursor.close()
cursor = cnxn.cursor()
cursor.execute("SELECT * from db.v where v1 > ?", '5')
row = cursor.fetchone()
while row:
print(row)
row = cursor.fetchone()
cursor.close()