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

Method query

basex-core/src/test/java/org/basex/server/SessionTest.java:220–223  ·  view source on GitHub ↗

Runs a query and retrieves the result as string. @throws IOException I/O exception

()

Source from the content-addressed store, hash-verified

218 * Runs a query and retrieves the result as string.
219 * @throws IOException I/O exception */
220 @Test public void query() throws IOException {
221 final Query query = session.query("1");
222 assertEqual("1", query.execute());
223 }
224
225 /**
226 * Runs a query and retrieves the result as string.

Callers 15

readWriteIntegrityMethod · 0.45
createDBMethod · 0.45
xsltTransformImportMethod · 0.45
xsltTransformDocumentMethod · 0.45
validateXsdMethod · 0.45
dbCreateMethod · 0.45
fetchXmlMethod · 0.45
docMethod · 0.45
parseXmlMethod · 0.45
nonLockingBeforeWriteMethod · 0.45
nonLockingAfterWriteMethod · 0.45
replaceMethod · 0.45

Calls 2

assertEqualMethod · 0.95
executeMethod · 0.95

Tested by

no test coverage detected