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

Method bind

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

Binds a value to a variable. An empty string can be specified as data type.

(self, name, value, datatype='')

Source from the content-addressed store, hash-verified

265 self.__id = self.__exc(chr(0), querytxt)
266
267 def bind(self, name, value, datatype=''):
268 """Binds a value to a variable.
269An empty string can be specified as data type."""
270 self.__exc(chr(3), self.__id + chr(0) + name + chr(0) + value + chr(0) + datatype)
271
272 def context(self, value, datatype=''):
273 """Bind the context value"""

Callers 1

Calls 1

__excMethod · 0.95

Tested by

no test coverage detected