Is it possible to identify the query type (Definition, Manipulation, Query etc) executed by SQLite API sqlite3_step ?
sqlite3_step will return SQLITE_DONE if the query is successfully executed. This will be same if the query is a CREATE TABLE query or SELECT * FROM <table> query (if the SELECT query returns no rows).
Is it possible to identify the CREATE query and SELECT query without searching for the strings 'CREATE' and 'SELECT' ?
Aucun commentaire:
Enregistrer un commentaire