mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
10 lines
335 B
Plaintext
10 lines
335 B
Plaintext
(: Query for returning one database entry :)
|
|
|
|
import module namespace req = "http://www.28msec.com/modules/http-request";
|
|
import module namespace catalog = "http://guide.com/catalog";
|
|
|
|
variable $id := (req:param-values("id"), "London")[1];
|
|
variable $part := (req:param-values("part"), "main")[1];
|
|
|
|
catalog:get-data-by-key($id, $part)
|