I have a question about the findByCriteria method. The method takes an array of String objects and returns an array of longs. Does input array of Strings size have to equal the number of fields in a record, so field two is matched to the second String in the input array. Or is it that every value in the input array is compared to all of the fields in a record? It is not clear from the method description. Thanks.
posted 13 years ago
Hi Kevin, Welcome to this forum. Each criteria array element index matches the corresponding field number, any null element meaning "any" for the corresponding field. Best, Phil.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads