Skip to main content

implicit_target_columns

Function implicit_target_columns 

Source
pub fn implicit_target_columns(
    context: ViewRewriteContext<'_>,
    table: &str,
) -> Result<Option<Vec<String>>, SQLError>
Expand description

The columns an INSERT without a column list fills in order: a table’s columns or a view’s output columns. A materialized view cannot be a target, and its INSERT keeps the form that reports so.