3
The library I’m using is that one.
That is the code:
cur.execute("""SELECT COUNT(*) as total FROM tabela as t WHERE ... """, (v1, v2))
for (total) in cur:
if total > 0:
print('Existe')
The problem is there’s never any value.
PS: There are data in the table to bring a count > 0
What’s wrong with that?