You need to sign in to do that
Don't have an account?
HugoNow
Query returns
When I do this query in the Dev Console, it returns:
SELECT CreatedDate FROM CustomObject__c WHERE CustomField__c = 'a0Fd000000VCFnxEAH' ORDER BY CreatedDate LIMIT 1
however, when I change the LIMIT 1 to LIMIT 2 for example, it works as expected and returns 2 records. It points to a SF bug but I am not able to diagnose further.
Any ideas?
Thanks
SELECT CreatedDate FROM CustomObject__c WHERE CustomField__c = 'a0Fd000000VCFnxEAH' ORDER BY CreatedDate LIMIT 1
however, when I change the LIMIT 1 to LIMIT 2 for example, it works as expected and returns 2 records. It points to a SF bug but I am not able to diagnose further.
Any ideas?
Thanks
when you run: SELECT CreatedDate FROM CustomObject__c WHERE CustomField__c = 'a0Fd000000VCFnxEAH' ORDER BY CreatedDate LIMIT 1
it returns a single record ..right?
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AnfXIAS#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Apex_Code_Development&criteria=OPENQUESTIONS&id=906F0000000Ao4EIAS