def _FetchColumns(self):
    sql = ('SELECT  COLUMN_NAME, COLUMN_TYPE, CHARACTER_SET_NAME '
           'FROM information_schema.COLUMNS '
           'WHERE TABLE_SCHEMA = %(db)s AND TABLE_NAME = %(table)s '
           'ORDER BY ORDINAL_POSITION')
    db_name = self._database.GetDbName()
    table_name = self._dbh.Escape(self._name)
    sql = sql % {'db':db_name, 'table':table_name}
    cols = self._dbh.ExecuteWithRetry(sql)
    for col in cols:
      self.AddColumn(col['COLUMN_NAME'], col['COLUMN_TYPE'],
                     col['CHARACTER_SET_NAME'])
Return all plugin categories which can be used by placeholder content.
dataset/ETHPy150Open google/mysql-tools/pylib/schema.py/Table._FetchColumns--crossover with--dataset/ETHPy150Open edoburu/django-fluent-contents/fluent_contents/admin/placeholdereditor.py/PlaceholderEditorBaseMixin.get_all_allowed_plugins