ars_perl_Qualifier($qual)Note that this is a fairly complex Hash and if all you want to do is see the qualifier in a readable form (and not interpret it) you might just want to call ars_Export and extract the readable qualifier from the return value of that routine.
undef.
Example:
($entry_id = ars_CreateEntry($c, "Schema01", $id, $val)) ||
die $ars_errstr;
Hash: the hash returned by ars_perl_Qualifier has these members:
oper = "and", "or", "not", "rel_op"
left = qualifier (only for and, or)
right = qualifier (only for and, or)
not = qualifier (only for not)
rel_op = rel_op (only for rel_op)
a rel_op is:
oper = "==", ">", ">=", "<", "<=", "!=", "like", "in"
left = FieldValueOrArithStruct
right = FieldValueOrArithStruct
FieldValueOrArithStruct is:
fieldId = integer
value = scalar value (integer, string, float, etc.)
arith = ArithOpStruct
statHistory = StatHistoryValue
valueSet = list of scalar values
variable = integer /* I think this is for passing
macro arguments */
queryValue = QueryValueStruct
queryCurrent = integer