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

Method item

basex-core/src/main/java/org/basex/query/func/db/DbInfo.java:19–23  ·  view source on GitHub ↗
(final QueryContext qc, final InputInfo ii)

Source from the content-addressed store, hash-verified

17 */
18public final class DbInfo extends DbAccessFn {
19 @Override
20 public FNode item(final QueryContext qc, final InputInfo ii) throws QueryException {
21 final Data data = toData(qc);
22 return toNode(Q_DATABASE, InfoDB.db(data.meta, false, true), qc);
23 }
24
25 /**
26 * Converts the specified info string to a node fragment.

Callers

nothing calls this directly

Calls 3

toNodeMethod · 0.95
dbMethod · 0.95
toDataMethod · 0.80

Tested by

no test coverage detected