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

Method item

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

Source from the content-addressed store, hash-verified

14 */
15public final class DbName extends StandardFunc {
16 @Override
17 public Item item(final QueryContext qc, final InputInfo ii) throws QueryException {
18 final DBNode dbnode = toDBNode(toNode(arg(0), qc), false);
19 return Str.get(dbnode.data().meta.name);
20 }
21}

Callers

nothing calls this directly

Calls 5

getMethod · 0.95
dataMethod · 0.95
toDBNodeMethod · 0.80
toNodeMethod · 0.45
argMethod · 0.45

Tested by

no test coverage detected