MagicQueryWatcher class

TelescopeWatcher for magic's QueryExecuted event (dispatched by QueryBuilder after every SQL run). Captures sql + bindings + timeMs + connection into a QueryRecord; surfaces via telescope:queries CLI / telescope_queries MCP tool.

Constructors

MagicQueryWatcher()

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Human-readable watcher name.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

install() → void
Wire the watcher's listening hook (event subscription, override, etc.).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
uninstall() → void
Tear down the hook (test isolation).

Operators

operator ==(Object other) bool
The equality operator.
inherited