i need to test if a table are empty in if statement ... i try with:

if db.Prestiti.id.count==0:
        vuoto='if '
    else:
        vuoto='else '

it go under else in both cases (table Prestiti with no record or with
record)

Reply via email to