Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WS32C28934-CDCE-497f-8212-6342141C5846.html
Copy link to clipboard
Copied
Regarding the filtercriteria, multiple key-value pairs should be comma separated.
The following statement given above (see Parameters section) is misleading:
i.e. If there are more than one key-value pair, then the AND operator is used.
Correct statement:
If there are more than one key-value pair, each pair should be separated with a comma e.g. {firstname="Marcia", lastname="Em"}.
Copy link to clipboard
Copied
You are misreading the text. It's explaining what happens on the DB side of things: eg if you pass two filter criteria, then they are ANDed in the DB filter clause, not ORed. It's NOT explaining the syntax to use for the argument (which is clearly stated as being a struct, which is correct).
--
Adam
Copy link to clipboard
Copied
Thanks Adam!