Skip to main content

Delete table

Deletes a table from the database

Function DeleteTable(Val Table, Val Connection = "") Export

ParameterCLI optionTypeRequiredDescription
Table--tableStringTable name
Connection--dbString, ArbitraryExisting connection or database path
Returns

Map Of KeyAndValue - Result of query execution

1C:Enterprise/OneScript code example
Base = "/tmp/vnnmoosn.qqb.sqlite";
Table = "test";

Result = OPI_SQLite.DeleteTable(Table, Base);
oint sqlite DeleteTable \
--table "test" \
--db "/tmp/v3fibjxn.cs0.sqlite"
Result
{
"result": true
}