MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / refresh

Method refresh

web/pgadmin/static/js/tree/tree.js:93–99  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

91 }
92
93 async refresh(item) {
94 // Set _children to null as empty array not reload the children nodes on refresh.
95 if(item.children?.length == 0) {
96 item._children = null;
97 }
98 await this.tree.refresh(item);
99 }
100
101 async add(item, data) {
102 await this.tree.create(item.parent, data.itemData);

Callers 15

_get_credentialsMethod · 0.80
enableFunction · 0.80
disableFunction · 0.80
enableFunction · 0.80
disableFunction · 0.80
table.jsFile · 0.80
trigger.jsFile · 0.80
rule.jsFile · 0.80
partition.jsFile · 0.80
foreign_table.jsFile · 0.80
browser.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected