mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 10:16:00 +00:00
truncate table context menu #333
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user