get_plans

xorq.api.get_plans(expr)

Get execution plans for an expression.

Returns a dictionary mapping plan type (str) to plan string for each plan returned by the backend’s EXPLAIN command.

Parameters

Name Type Description Default
expr Expr The expression to get plans for. required

Returns

Name Type Description
dict Mapping of plan type (str) to plan string for each plan returned by the backend’s EXPLAIN.