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

Method exec

basex-api/src/main/php/BaseXClient/Query.php:88–96  ·  view source on GitHub ↗
($cmd, $arg)

Source from the content-addressed store, hash-verified

86 }
87
88 public function exec($cmd, $arg)
89 {
90 $this->session->send($cmd.$arg.chr(0));
91 $s = $this->session->receive();
92 if (!$this->session->ok()) {
93 throw new BaseXException($this->session->readString());
94 }
95 return $s;
96 }
97
98 public function current()
99 {

Callers 13

__constructMethod · 0.95
bindMethod · 0.95
contextMethod · 0.95
executeMethod · 0.95
infoMethod · 0.95
optionsMethod · 0.95
closeMethod · 0.95
mainFunction · 0.45
xml.jsFile · 0.45
codemirror.jsFile · 0.45
rmClassFunction · 0.45
buildTokenFunction · 0.45

Calls 4

okMethod · 0.65
sendMethod · 0.45
receiveMethod · 0.45
readStringMethod · 0.45

Tested by 1

startMethod · 0.36