The innermost Database whose executeStmt is currently on the call stack, or null when none is. Used by context-sensitive scalar functions.
executeStmt
static Database? get current => _executionStack.isEmpty ? null : _executionStack.last;