Derives a `QueryContext` for a scope that contains no columns.
(&self)
| 6617 | |
| 6618 | /// Derives a `QueryContext` for a scope that contains no columns. |
| 6619 | fn empty_derived_context(&self) -> QueryContext<'a> { |
| 6620 | let scope = Scope::empty(); |
| 6621 | let ty = SqlRelationType::empty(); |
| 6622 | self.derived_context(scope, ty) |
| 6623 | } |
| 6624 | |
| 6625 | /// Resolves `object` to a table expr, i.e. creating a `Get` or inlining a |
| 6626 | /// CTE. |
no test coverage detected