<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wandora.org/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wandora.org/w/index.php?action=history&amp;feed=atom&amp;title=Unique_%28query_directive%29</id>
		<title>Unique (query directive) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wandora.org/w/index.php?action=history&amp;feed=atom&amp;title=Unique_%28query_directive%29"/>
		<link rel="alternate" type="text/html" href="http://wandora.org/w/index.php?title=Unique_(query_directive)&amp;action=history"/>
		<updated>2026-04-18T12:52:32Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.1</generator>

	<entry>
		<id>http://wandora.org/w/index.php?title=Unique_(query_directive)&amp;diff=6953&amp;oldid=prev</id>
		<title>Olli at 08:37, 24 August 2009</title>
		<link rel="alternate" type="text/html" href="http://wandora.org/w/index.php?title=Unique_(query_directive)&amp;diff=6953&amp;oldid=prev"/>
				<updated>2009-08-24T08:37:57Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Description ==&lt;br /&gt;
&lt;br /&gt;
Removes duplicate rows from the result of inner query.&lt;br /&gt;
&lt;br /&gt;
== Constructor ==&lt;br /&gt;
&lt;br /&gt;
Unique(Directive directive)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
Following example gets the union of instances and subclasses but removes duplicate rows.&lt;br /&gt;
&lt;br /&gt;
 importPackage(org.wandora.query2);&lt;br /&gt;
 importPackage(org.wandora.topicmap);&lt;br /&gt;
 new Unique(&lt;br /&gt;
   new Union(&lt;br /&gt;
     new Instances(),&lt;br /&gt;
     new Players(XTMPSI.SUPERCLASS_SUBCLASS,XTMPSI.SUBCLASS)&lt;br /&gt;
     .whereInputIs(XTMPSI.SUPERCLASS).as(&amp;quot;#DEFAULT&amp;quot;)&lt;br /&gt;
   )&lt;br /&gt;
 )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Query directives]]&lt;/div&gt;</summary>
		<author><name>Olli</name></author>	</entry>

	</feed>