Skip to main content

Module query

Module query 

Source
Expand description

Microscope Query Language (MQL)

Syntax: “keyword” → text search layer:long_term “keyword” → filter by layer depth:3 “keyword” → filter by depth depth:2..5 “keyword” → depth range near:0.2,0.3,0.1 “keyword” → spatial filter (within radius 0.1 of coords) “foo” AND “bar” → both keywords must match “foo” OR “bar” → either keyword matches limit:20 → override default k

Filters compose: layer:long_term depth:3..5 "memory" AND "high_level"

Structs§

Query
QueryResult
Result from query execution.

Enums§

BoolOp

Functions§

execute
Execute a parsed query against the reader and append log.
layer_name
Format a layer ID to its name.
parse
Parse a query string into a structured Query.