Valid types are: CONNECTION, VIEW, TABLE, RELATION, FIELD, INDEX. Some commands are appropriate only for a subset of these types.