orm.go
func (s *Schema) HasIndex(indexName string) bool {
	_, ok := s.indexes[indexName]
	return ok
}
func (s *Schema) HasIndex(indexName string) bool {
	_, ok := s.indexes[indexName]
	return ok
}
func ( s * Schema ) HasIndex ( indexName string ) bool { _ , ok := s . indexes [ indexName ] return ok }
// HasIndex returns true if the given index is in the schema.
HasIndex returns true if the given index is in the schema .