MCPcopy Create free account
hub / github.com/BaseXdb/basex / add

Method add

basex-api/src/main/python/BaseXClient/BaseXClient.py:157–159  ·  view source on GitHub ↗

Adds a new resource to the opened database.

(self, path, content)

Source from the content-addressed store, hash-verified

155 self.__send_input(8, name, content)
156
157 def add(self, path, content):
158 """Adds a new resource to the opened database."""
159 self.__send_input(9, path, content)
160
161 def replace(self, path, content):
162 """Replaces a resource with the specified input."""

Callers

nothing calls this directly

Calls 1

__send_inputMethod · 0.95

Tested by

no test coverage detected