edmiGetQuery

edmiGetQuery

EdmiError edmiGetQuery (SdaiString schemaName, SdaiString querySchemaName, SdaiString queryName, SdaiQuery *queryId);

Returns a queryId that uniquely identifies an EDMquery function in the EDMdatabase.

Arguments


Type

Name

Comment

SdaiString

schemaName

Specifies the name of the Express schema (dictionary model) that hosts the query schema. This Express schema must exist as a dictionary model in the EDMdatabase . Schema names are case insensitive. Schema names are unique in an EDMdatabase .

SdaiString

querySchemaName

Specifies the name of the query schema of interest. Query schema names are case insensitive. Query schema names are unique within one dictionary model (Express schema).

SdaiString

queryName

Specifies the name of the query function (EDMquery) of interest. Query function names are case insensitive. Query schema names are unique within one query schema.

SdaiQuery

queryId

Address of the variable that will receive the numeric queryID that uniquely identifies the query function instance in the EDMdatabase .

Return Value


Options


 

Example


 

 SdaiQuery queryId; EdmiError rstat; . . . if (rstat = edmiGetQuery ("PDM_Schema", "product_doc_approval", "product_documentation", &queryId)) { /* Error in operation */ printf("\nError: %s in edmiGetQuery \n", edmiGetErrorText(rstat)); goto error; } printf ("\nQueryId: %lu", queryId); . . .

 

See also