← Back to team overview

pyax team mailing list archive

[Bug 301187] Re: pyax fails to return results when COUNT() is used in SOQL

 

Refined the fix for this bug a bit:

        query_result_batch = self.__resultToObject(sobject_records)
        if (done is True) and (len(query_result_batch) == 0):
            query_result_batch = query_result if (str(query_result.__class__).find('pyax.xmltramp.Element') == -1) else []
        return query_result_batch

Let's just say this works for me...

-- 
pyax fails to return results when COUNT() is used in SOQL
https://bugs.launchpad.net/bugs/301187
You received this bug notification because you are a member of pyax
Developers, which is the registrant for pyax.



References