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

Function remove

web/pgadmin/static/js/tree/ObjectExplorer/index.jsx:160–167  ·  view source on GitHub ↗
(path, _removeOnlyChild)

Source from the content-addressed store, hash-verified

158
159 // Remove Node
160 const remove = async (path, _removeOnlyChild) => {
161 try {
162 await mtree.removeNode(path, _removeOnlyChild);
163 return true;
164 } catch {
165 return false; // or throw error as you see fit
166 }
167 };
168
169 // Update Node
170 const update = async (path, data) => {

Callers 2

FileTreeXClass · 0.85
kerberos_logoutFunction · 0.85

Calls 1

removeNodeMethod · 0.80

Tested by

no test coverage detected