3

I am trying to run some queries on my sqlite database after building my application.

I have tried;

<Exec Command='sqlite3 "@(DeployedSqliteDbPath) DELETE FROM BatchConfig";'/>

and

<Exec Command='sqlite3 "@(DeployedSqliteDbPath)";'/>
<Exec Command='sqlite3 "DELETE FROM BatchConfig";'/>

But it doesn't seem to work. Can someone help?

Orson
  • 14,981
  • 11
  • 56
  • 70

1 Answers1

3

This worked;

<Exec Command='sqlite3 "@(DeployedSqliteDbPath)" "DELETE FROM BatchConfig;"'/>
Orson
  • 14,981
  • 11
  • 56
  • 70