I have installed teradatasql python module recently. When I am doing batch select into table it is not providing all outputs. How to select multiple records at a time?
with teradatasql.connect ('{"host":"whomooz","user":"guest","password":"please"}') as con:
with con.cursor () as cur:
cur.fast_executemany=True
cur.execute ("select * from table where userid=? and username=?", [
[1, "abc"],
[2, "def"],
[3, "ghi"]])
print(cur.fetchall())