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: Map Of KeyAndValue - Result of query execution
1C:Enterprise/OneScript code example
Base = "C:\Users\Administrator\AppData\Local\Temp\v8_761F_2fd.sqlite";
Table = "test";
Result = OPI_SQLite.ClearTable(Table, Base);
- Bash
- CMD/Bat
oint sqlite ClearTable \
--table "test" \
--db "C:\Users\Administrator\AppData\Local\Temp\ttindjrjxqn.sqlite"
oint sqlite ClearTable ^
--table "test" ^
--db "C:\Users\Administrator\AppData\Local\Temp\ttindjrjxqn.sqlite"
Result
{
"result": true
}