pub fn select( name: &str, selected: Option<u32>, ty: Option<&ColumnType>, catalog: Option<&dyn FunctionTypeResolver>, ) -> Result<u32, SQLError>