I want to see the log of API server to debug.
I started an API server in localhost:12315
then using datascriptQuery API
{
"method": "logseq.Db.datascriptQuery",
"args": [
"[:find ?id :where [?id :block/name \"home\"]]"
]
}
the query can find id 18, then I use input to pass in “home”
{
"method": "logseq.Db.datascriptQuery",
"args": [
"[:find ?id :in $ ?name :where [?id :block/name ?name]]",
"home"
]
}
it return empty result [[]]