Clear table
Clears the database table
Function ClearTable(Val Table, Val Connection = "") Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Table | --table | String | ✔ | Table name |
Connection | --db | String, Arbitrary | ✖ | Existing connection or database path |
Returns: Structure Of KeyAndValue, String - Result of query execution
1C:Enterprise/OneScript code example
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_E607_1d.sqlite";
Table = "test";
Result = OPI_SQLite.ClearTable(Table, Base);
- Bash
- CMD/Bat
oint sqlite ClearTable \
--table "test" \
--db "C:\Users\Administrator\AppData\Local\Temp\3pbdgv5r4nm.sqlite"
oint sqlite ClearTable ^
--table "test" ^
--db "C:\Users\Administrator\AppData\Local\Temp\3pbdgv5r4nm.sqlite"
Result
{
"result": true
}