jeudi 8 octobre 2015

Parameters to SQL in Chrome Dev Tools

Chrome's Developer Tools have a handy prompt on the Resources page where I can execute SQL on my actual WebSQL database. But if the SQL is parameterised like this:

select * from SomeTable where ImportantField = ?

I get a message like this:

Number of '?'s in statement string does not match argument count

I know this is a SQLite message, but I don't see an obvious way to supply the arguments in Chrome Dev Tools. Is it possible?

Aucun commentaire:

Enregistrer un commentaire