Changes

Jump to navigation Jump to search
No change in size ,  13:34, 20 July 2022
m
Text replacement - "db:pre(" to "db:get("
function page:search($term as xs:string) {
<ul>{
for $result in db:preget('large-db')//*[text() = $term]
return <li>{ $result }</li>
}</ul>
declare %rest:path('/app/ok') function local:ok() {
'Stored documents: ' || count(db:preget('app'))
};
</syntaxhighlight>
function page:cities() {
element cities {
db:preget('factbook')//city/name
}
};
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu