Skip to main content
added 12 characters in body
Source Link
Matt Lacey
  • 25.8k
  • 7
  • 68
  • 153

Is there a way to know programmatically what are SOQL limits on objects? some way that given a standard object tells that to query this object you need to use filters on the fields [x,y,z,...]?

to avoid exceptions like this: [MalformedQueryFault [ApiQueryFault [ApiFault exceptionCode='MALFORMED_QUERY' exceptionMessage='Implementation restriction: ContentDocumentLink requires a filter by a single Id, ContentDocumentId or LinkedEntityId using the equals operator']

[MalformedQueryFault [ApiQueryFault [ApiFault exceptionCode='MALFORMED_QUERY' exceptionMessage='Implementation restriction: ContentDocumentLink requires a filter by a single Id, ContentDocumentId or LinkedEntityId using the equals operator']

I know these limits are stated in the documentation but I need a on-the-fly way

Thanks,

Is there a way to know programmatically what are SOQL limits on objects? some way that given a standard object tells that to query this object you need to use filters on the fields [x,y,z,...]?

to avoid exceptions like this: [MalformedQueryFault [ApiQueryFault [ApiFault exceptionCode='MALFORMED_QUERY' exceptionMessage='Implementation restriction: ContentDocumentLink requires a filter by a single Id, ContentDocumentId or LinkedEntityId using the equals operator']

I know these limits are stated in the documentation but I need a on-the-fly way

Thanks,

Is there a way to know programmatically what are SOQL limits on objects? some way that given a standard object tells that to query this object you need to use filters on the fields [x,y,z,...]?

to avoid exceptions like this:

[MalformedQueryFault [ApiQueryFault [ApiFault exceptionCode='MALFORMED_QUERY' exceptionMessage='Implementation restriction: ContentDocumentLink requires a filter by a single Id, ContentDocumentId or LinkedEntityId using the equals operator']

I know these limits are stated in the documentation but I need a on-the-fly way

Thanks,

Tweeted twitter.com/#!/StackSalesforce/status/531551647483174912
Source Link
Sara
  • 83
  • 3

Standard Objects Limits

Is there a way to know programmatically what are SOQL limits on objects? some way that given a standard object tells that to query this object you need to use filters on the fields [x,y,z,...]?

to avoid exceptions like this: [MalformedQueryFault [ApiQueryFault [ApiFault exceptionCode='MALFORMED_QUERY' exceptionMessage='Implementation restriction: ContentDocumentLink requires a filter by a single Id, ContentDocumentId or LinkedEntityId using the equals operator']

I know these limits are stated in the documentation but I need a on-the-fly way

Thanks,