Changes

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

edits

Navigation menu