Skip to main content
avillanueva
23-Emerald I
September 23, 2011
Question

Simple (I think) question on where clauses

  • September 23, 2011
  • 0 replies
  • 336 views
I've been through the guides, can't seem to find an example of where
clause other than single clause. I am using dca-Query.xml and want to
find WTParts by a number, view and that are the latest version. Here is
my code:

task.addParam("search_type", "wt.part.WTPart"); //should get WTPart

task.addParam("where",
"number="+topLevelWTPart+",isLatestVersion="+"true"); //WTPart number

Task seems to indicate that where can have multiple entries and is comma
delimited.

<ie:param name="type" data="${@FORM[]search_type[]}"/">

<ie:param name="where" data="${@FORM[]where[*]}"&lt;br"/>delim="," default="()"/>