I'm trying to do a SELECT IN query using ormExecuteQuery(). Following is the code I have:
Categories = ormExecuteQuery("from Category where Id IN (?)",[CategoryList]);
It only works when there is 1 value in the CategoryList. i.e. This works:
Categories = ormExecuteQuery("from Category where Id IN (?)",[9]);
This DOES NOT work:
Categories = ormExecuteQuery("from Category where Id IN (?)",[8,9,10]);
Help would be greatly appreciated.
North America
Europe, Middle East and Africa
Asia Pacific
Copyright © 2012 Adobe Systems Incorporated. All rights reserved.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).