code: def _db_remove_prefix(self, spec, recursive = False):
          
          if recursive:
              prefix = spec['prefix']
              del spec['prefix']
              where, params = self._expand_prefix_spec(spec)
              spec['prefix'] = prefix
              params['prefix'] = prefix
              where = 'prefix <<= %(prefix)s AND ' + where
          else:
              where, params = self._expand_prefix_spec(spec)
  
          sql = "DELETE FROM ip_net_plan AS p WHERE %s" % where
          self._execute(sql, params)
docs: Do the underlying database operations to delete a prefix