docs: def iter_query_indexes(self):
          """
          Iterator that constructs :class:`~dql.models.QueryIndex` for all global
          and local indexes, and a special one for the default table hash & range
          key with the name 'TABLE'
  
          """
          if self._table.range_key is None:
              range_key = None
          else:
              range_key = self._table.range_key.name
          yield QueryIndex("TABLE", True, self._table.hash_key.name, range_key)
          for index in self._table.indexes:
              yield QueryIndex.from_table_index(self._table, index)
          for index in self._table.global_indexes:
              yield QueryIndex.from_table_index(self._table, index)