@asla/yoursql 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mod.js +1 -1
- package/package.json +1 -1
package/dist/mod.js
CHANGED
|
@@ -682,7 +682,7 @@ class DbTableQuery extends DbTable {
|
|
|
682
682
|
return genRetuningSql(sql, returns, values instanceof SqlQueryStatement ? values.columns : this.columns);
|
|
683
683
|
}
|
|
684
684
|
delete(option = {}) {
|
|
685
|
-
let sql = "
|
|
685
|
+
let sql = "DELETE FROM " + this.name;
|
|
686
686
|
if (option.where)
|
|
687
687
|
sql += genWhere(option.where);
|
|
688
688
|
return sql;
|