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

Method bind

basex-core/src/main/java/org/basex/core/cmd/XQuery.java:27–29  ·  view source on GitHub ↗

Binds a variable. @param name name of variable (if null, value will be bound as context value) @param value value to be bound (XQuery value; any other value will be converted to a string) @return self reference

(final String name, final Object value)

Source from the content-addressed store, hash-verified

25 * @return self reference
26 */
27 public XQuery bind(final String name, final Object value) {
28 return bind(name, new SimpleEntry<>(value, null));
29 }
30
31 /**
32 * Binds a variable.

Callers 2

runMethod · 0.95
BaseXServerMethod · 0.45

Calls 1

putMethod · 0.45

Tested by

no test coverage detected