Calling convention: CIP_JSON_GetDBRowCount(JSONObjectPointer: NativeInt): Integer
Description: Returns the number of rows in a JSON dataset created by CIP_JSON_SQL.
Parameters:
JSONObjectPointer = Valid pointer to a JSON dataset.
Returns: Integer: row count, or 0 if the row-list path is absent. A non-array row list or invalid nonzero pointer raises an exception.
Availability: Default.
Example:
try
JSONSQLObj := CIP_JSON_SQL("", "SELECT * FROM OBJECTS");
Result := CIP_JSON_GetDBRowCount(JSONSQLObj);
finally
CIP_JSON_FreeObject(JSONSQLObj);
end;