truncate table context menu #333

This commit is contained in:
Jan Prochazka
2022-09-22 16:01:52 +02:00
parent 41afd177ef
commit 59efdd735c
4 changed files with 35 additions and 3 deletions

View File

@@ -12,6 +12,10 @@ class Dumper extends SqlDumper {
putByteArrayValue(value) {
this.putRaw(`x'${arrayToHexString(value)}'`);
}
truncateTable(name) {
this.putCmd('^delete ^from %f', name);
}
}
module.exports = Dumper;