goby-database 1.0.6 → 1.0.7
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/index.js +3 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -590,6 +590,9 @@ class Project{
|
|
|
590
590
|
this.db.prepare(`DELETE FROM system_root WHERE id = ${id}`).run();
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
+
action_set_root_item_value(id,value){
|
|
594
|
+
this.db.prepare(`UPDATE system_root set value = ? WHERE id = ?`).run(value,id);
|
|
595
|
+
}
|
|
593
596
|
|
|
594
597
|
action_add_row(class_id,class_name){
|
|
595
598
|
//first add new row to root and get id
|