lundi 26 octobre 2015

sqlite WHERE query

I am trying to query SQLite in flask using the following

cur = g.db.execute('select * from movies where category = action')

but I receive the following error

OperationalError: no such column: action

How can I execute the query?

Aucun commentaire:

Enregistrer un commentaire