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

Method create

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

Creates a new database with the specified input (may be empty).

(self, name, content)

Source from the content-addressed store, hash-verified

151 return Query(self, querytxt)
152
153 def create(self, name, content):
154 """Creates a new database with the specified input (may be empty)."""
155 self.__send_input(8, name, content)
156
157 def add(self, path, content):
158 """Adds a new resource to the opened database."""

Callers 1

CreateExample.pyFile · 0.45

Calls 1

__send_inputMethod · 0.95

Tested by

no test coverage detected