pub fn infer_dummy_view_sql(columns: &[(&'_ str, DataType)]) -> String
Expand description
infer_dummy_view_sql
returns a dummy SQL statement for a view with the given columns that
returns no rows. For example, with columns a
and b
, it returns SELECT NULL::integer AS a, NULL::varchar AS b WHERE 1 != 1
.