removeCte method
Implementation
@protected
bool removeCte(String name) {
String lowerName = name.toLowerCase();
final index = _ctes.indexWhere(
(cte) => cte.name.toLowerCase() == lowerName,
);
if (index != -1) {
_ctes.removeAt(index);
_cteNames.remove(lowerName);
_cache.markDirty();
return true;
}
return false;
}