Bug #189
closed
add <, >, and numeric = operators to pathquery language
Added by Matt Jones over 23 years ago.
Updated over 22 years ago.
Description
Need to have less than, greater than, and numeric equals operator support in the
pathquery language so that we can do spatial and othe rimportant queries.
DONE
Included new terms in pathquery.dtd for searchmode:
equals (former "matches-exactly")
isnot-equal
less-than
greater-than
less-than-equals
greater-than-equals
added support for them in QuerySpecification. Tested in Oracle.
For = and != operators: ='1' and =1 (!='1' and !=1) work in the same way for
numeric operands thus ='operand' is used only.
For >, >=, <, <= check for numeric operand is added like:
if (operand is Number)
operator operand
else //character operand
operator 'operand'
Original Bugzilla ID was 189
Also available in: Atom
PDF