removeCte method

  1. @protected
bool removeCte(
  1. String name
)
inherited

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;
}