GetMetaEntityValues retrieves the meta entity values linked to a given meta UUID
(ctx context.Context, metaUuid string)
| 303 | |
| 304 | // GetMetaEntityValues retrieves the meta entity values linked to a given meta UUID |
| 305 | func (s *evSqlImpl) GetMetaEntityValues(ctx context.Context, metaUuid string) ([]*idm.EntityValue, error) { |
| 306 | result, err := s.GetMetaEntityValuesMap(ctx, []string{metaUuid}) |
| 307 | if err != nil { |
| 308 | return nil, err |
| 309 | } |
| 310 | |
| 311 | if values, ok := result[metaUuid]; ok { |
| 312 | return values, nil |
| 313 | } |
| 314 | |
| 315 | return []*idm.EntityValue{}, nil |
| 316 | } |
| 317 | |
| 318 | // DeleteEntity deletes an entity and all its values, as well as the links between those values and any meta |
| 319 | func (s *evSqlImpl) DeleteEntity(ctx context.Context, entityID string) (*idm.DeleteEntityValuesResponse, error) { |
nothing calls this directly
no test coverage detected