Expand description
Code lenses for unit tests and explain plans.
Places clickable links above SQL statements:
- “Run Test” above each
EXECUTE UNIT TESTstatement — dispatchesmz-deploy.runTestwith the test filter string. - “Explain” above
CREATE MATERIALIZED VIEWstatements and namedCREATE INDEXstatements — dispatchesmz-deploy.runExplainwith the fully qualified target (database.schema.objectordatabase.schema.object#index_name).
Functions§
- code_
lenses 🔒 - Build code lenses for tests and explain targets in the file.
- find_
index_ 🔒line - Find the 0-based line number where
CREATE INDEX <name>appears. - find_
statement_ 🔒line - Find the 0-based line number where a statement keyword appears.
- find_
test_ 🔒line - Find the 0-based line number where
EXECUTE UNIT TEST <name>appears.