int msiExecGenQuery ( msParam_t *  genQueryInParam,
msParam_t *  genQueryOutParam,
ruleExecInfo_t *  rei 
)
Description:
This function executes a given general query structure and returns results
Module:
core
Since:
pre-2.1
Author:
Arcot Rajasekar
Date:
2008
Note:
Takes a SQL-like iRODS query (no FROM clause) and returns a table structure. Use msiGetMoreRows to get all rows.
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] genQueryInParam - a msParam of type GenQueryInp_MS_T
[out] genQueryOutParam - a msParam of type GenQueryOut_MS_T
[in,out] rei - The RuleExecInfo structure that is automatically handled by the rule engine. The user does not include rei as a parameter in the rule invocation.
Session Variables Used:
none
Session Variables Modified:
none
iCAT Attributes Used:
none
iCAT Attributes Modified:
none
Side Effect:
none
Returns:
integer
Return values:
0 on success
Precondition:
none
Postcondition:
none
See also:
msiGetMoreRows and msiExecStrCondQuery

Definition at line 228 of file nre.genQueryMS.c.

Generated on Wed Jun 5 23:14:30 2013 for iRODS Documentation by  doxygen 1.6.3