Not (query directive)
From WandoraWiki
(Difference between revisions)
(→Examples) |
|||
| (2 intermediate revisions by one user not shown) | |||
| Line 5: | Line 5: | ||
== Constructor == | == Constructor == | ||
| − | Not( | + | Not(WhereDirective directive) |
| + | |||
| + | == Examples == | ||
| + | |||
| + | importPackage(org.wandora.query2); | ||
| + | importPackage(org.wandora.topicmap); | ||
| + | new Instances().where( | ||
| + | new Not(new IsOfType("http://www.wandora.org/core/associationtype")) | ||
| + | ) | ||
| + | |||
| + | This selects all instances of the input topic which are not instances of association type. | ||
[[Category:Query directives]] | [[Category:Query directives]] | ||
Latest revision as of 10:47, 21 August 2009
[edit] Description
Returns rows which do not satisfy the inner filtering directive.
[edit] Constructor
Not(WhereDirective directive)
[edit] Examples
importPackage(org.wandora.query2);
importPackage(org.wandora.topicmap);
new Instances().where(
new Not(new IsOfType("http://www.wandora.org/core/associationtype"))
)
This selects all instances of the input topic which are not instances of association type.