[rules-users] "distinct" operator in a query

braveheart85 andrea.pacifico.85 at gmail.com
Wed Nov 13 09:43:20 EST 2013


First thing I'm sorry for stealing your time.
What you say is true in this case, but what about case which i would add a
constraint to Vehicle:

query "QuerySelected" 
        $result: Person( identifierCode == "ABCDEF12H45S100A" ) 
        $y: YearData( id ==  $result.identifierCode ) 
        exists Vehicle( model == "foobar" ) from $y.vehicles 
end 

Then again maybe my question is stupid.

Andrea



--
View this message in context: http://drools.46999.n3.nabble.com/distinct-operator-in-a-query-tp4026762p4026769.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list