Concat (query directive)

From WandoraWiki
Jump to: navigation, search

Description

Executes the wrapped directive and concatenates the String representation of active column values from the results of that query. A delimiter string can be given optionally used between the concatenated values, the default value for this is "; ".

Constructor

Concat(Directive directive[,String delimiter])

Examples

Following example concatenates the base names of all the instances of the active topic.

importPackage(org.wandora.query2);
new Concat(
  new BaseName().from(new Instances())
)
Personal tools