Project

General

Profile

Bug #189

add <, >, and numeric = operators to pathquery language

Added by Matt Jones over 19 years ago. Updated over 18 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
04/09/2001
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
189

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.

History

#1 Updated by Jivka Bojilova over 19 years ago

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'

#2 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 189

Also available in: Atom PDF