scopeCompiler method

MssqlScopeCompiler scopeCompiler(
  1. MssqlScopeSelection selection
)

A fresh scope snapshot for this context's binding.

Created per call, never cached on the context: the context belongs to a generated table getter that is itself cached for the life of the database, so a cached snapshot would freeze the first tenant the process ever saw. A terminal calls this once and threads the result through every statement it runs — see MssqlScopeCompiler.

Implementation

MssqlScopeCompiler scopeCompiler(MssqlScopeSelection selection) =>
    MssqlScopeCompiler(binding, selection);