Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
EdmiError edmiDeleteAggrValue(SdaiAggr          aggrId,
                               SdaiPrimitiveType valueType, 
                                ... ); 

Deletes all aggregate elements in the specified aggregate that have the specified data value.

...

When the specified aggregate is an ARRAY, the actual array elements will not be deleted but the actual array elements will be unset, i.e. the value will be set to indeterminate.

...

This function is only applicable to aggregates owned by application instances. The actual data model that holds the specified aggregate must be open for write access before this function can be successfully performed

...

.

...

 

...

aggrId

A numeric aggregateID that uniquely identifies the actual aggregate in the EDMdatabase.

Arguments

...

TypeNameComment
SdaiAggr

valueType

The data type, i.e. the primitive type of the data value to be search for in the actual aggregate. This <valueType> must be the same or a compatible type of the primitive type of the actual aggregate element primitive type defined in the related EXPRESS schema. The primitive type sdaiSELECT can be used to specify all data types. The primitive type sdaiADB can be used to specify all data types except typed values.
The primitive type sdaiINTEGER is compatible with sdaiREAL, and sdaiBOOLEAN is compatible with sdaiLOGICAL, hence conversion between these compatible data types will be performed when required.

SdaiPrimitiveType

value

The data value to be deleted from the specified aggregate. The combination of the arguments <valueType> and <value> uniquely identifies an aggregate element value.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

 

Options

...

  

 

Example

...

 

Code Block
languagecpp
 EdmiError rstat;
 SdaiAggr aggrId;
 ...
 if (rstat = edmiDeleteAggrValue(aggrId,
 sdaiSTRING, 
 "abcd1234")) { 
  
 /* Error in operation */ 
 printf("\nError in edmiDeleteAggrValue: %s\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 . . .

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"