Minidebug_client.QuerySourceQuery layer for database access
type entry = {scope_id : int;seq_id : int;child_scope_id : int option;depth : int;message : string;location : string option;data : string option;elapsed_start_ns : int;elapsed_end_ns : int option;is_result : bool;log_level : int;entry_type : string;}type stats = {total_entries : int;total_values : int;unique_values : int;dedup_percentage : float;database_size_kb : int;}Get all runs from metadata database (schema v3+), given the versioned DB path. Automatically finds the corresponding <name>_meta.db file.
Get the ID of the most recent run from metadata DB, given the versioned DB path
Get entries for a specific run, optionally filtered by parent_id and max_depth
Get database statistics including deduplication metrics
Search entries by regex pattern matching message, location, or data
Get only root-level entries efficiently. When with_values is true, includes immediate children values. Fast for large databases.