我正在尝试在构建应用程序后在我的sqlite数据库上运行一些查询。
我试过了;
<Exec Command='sqlite3 "@(DeployedSqliteDbPath) DELETE FROM BatchConfig";'/>
和
<Exec Command='sqlite3 "@(DeployedSqliteDbPath)";'/>
<Exec Command='sqlite3 "DELETE FROM BatchConfig";'/>
但它似乎不起作用。有人可以帮忙吗?
答案 0 :(得分:3)
这很有效;
<Exec Command='sqlite3 "@(DeployedSqliteDbPath)" "DELETE FROM BatchConfig;"'/>