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

Method add

basex-api/src/main/php/BaseXClient/Session.php:112–115  ·  view source on GitHub ↗

* Inserts a document in the database at the specified path. * * @param string $path filesystem-like path * @param string $input XML string */

($path, $input)

Source from the content-addressed store, hash-verified

110 * @param string $input XML string
111 */
112 public function add($path, $input)
113 {
114 $this->sendCmd(9, $path, $input);
115 }
116
117 /**
118 * Replaces content at the specified path by the given document.

Callers

nothing calls this directly

Calls 1

sendCmdMethod · 0.95

Tested by

no test coverage detected