commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8634 - trunk/gnue-common/src/datasources


From: reinhard
Subject: [gnue] r8634 - trunk/gnue-common/src/datasources
Date: Fri, 25 Aug 2006 05:52:10 -0500 (CDT)

Author: reinhard
Date: 2006-08-25 05:52:08 -0500 (Fri, 25 Aug 2006)
New Revision: 8634

Modified:
   trunk/gnue-common/src/datasources/GConditions.py
Log:
Fixed XML definition for <exist>.


Modified: trunk/gnue-common/src/datasources/GConditions.py
===================================================================
--- trunk/gnue-common/src/datasources/GConditions.py    2006-08-24 20:46:11 UTC 
(rev 8633)
+++ trunk/gnue-common/src/datasources/GConditions.py    2006-08-25 10:52:08 UTC 
(rev 8634)
@@ -1301,7 +1301,7 @@
          'Deprecated' : 'Use the <condition> tag instead.'},
       'condition': {
          'BaseClass'  : GCondition,
-         'ParentTags' : ('conditions','and','or','not','negate','exist')},
+         'ParentTags' : ('conditions','and','or','not','negate')},
       'cfield': {
          'BaseClass'  : GCField,
          'Description': 'Defines a database table\'s field in a condition.',
@@ -1329,15 +1329,15 @@
       'and': {
          'BaseClass'  : GCand,
          'Description': 'Implements logical AND relation.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'or': {
          'BaseClass'  : GCor,
          'Description': 'Implements logical OR relation.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'not': {
          'BaseClass'  : GCnot,
          'Description': 'Implements logical NOT relation.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'add': {
          'BaseClass'  : GCadd,
          'Description': 'Implements addition.',
@@ -1361,57 +1361,57 @@
       'negate': {
          'BaseClass'  : GCnegate,
          'Description': 'Implements numerical negation.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'eq': {
          'BaseClass'  : GCeq,
          'Description': 'Implements a {field} = {value} condition.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'ne': {
          'BaseClass'  : GCne,
          'Description': 'Implements a {field} <> {value} condition.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'gt': {
          'BaseClass'  : GCgt,
          'Description': 'Implements a {field} > {value} condition.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'ge': {
          'BaseClass'  : GCge,
          'Description': 'Implements a {field} >= {value} condition.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'lt': {
          'BaseClass'  : GClt,
          'Description': 'Implements a {field} < {value} condition.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'le': {
          'BaseClass'  : GCle,
          'Description': 'Implements a {field} <= {value} condition.',
-         'ParentTags' :  ('condition','and','or','not','negate')},
+         'ParentTags' :  ('condition','and','or','not','negate','exist')},
       'like': {
          'BaseClass'  : GClike,
          'Description': 'Implements a {field} LIKE {value} condition.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'notlike': {
          'BaseClass'  : GCnotlike,
          'Description': 'Implements a {field} NOT LIKE {value} condition.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'between': {
          'BaseClass'  : GCbetween,
          'Description': 'Implements a {field} BETWEEN {value1} {value2} '
                         'condition.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'notbetween': {
          'BaseClass'  : GCnotbetween,
          'Description': 'Implements a {field} NOT BETWEEN {value1} {value2} '
                         'condition.',
-         'ParentTags' : ('condition','and','or','not','negate')},
+         'ParentTags' : ('condition','and','or','not','negate','exist')},
       'null': {
          'BaseClass'  : GCnull,
          'Description': 'Implements a {field} IS NULL condition.',
-         'ParentTags' : ('condition','and','or','not')},
+         'ParentTags' : ('condition','and','or','not','exist')},
       'notnull': {
          'BaseClass'  : GCnotnull,
          'Description': 'Implements a {field} IS NOT NULL condition.',
-         'ParentTags' : ('condition','and','or','not')},
+         'ParentTags' : ('condition','and','or','not','exist')},
       'upper': {
          'BaseClass'  : GCupper,
          'Description': 'Implements upper({value}).',
@@ -1431,8 +1431,7 @@
                                         'Typecast': GTypecast.text},
                          'detaillink': {'Required': True,
                                         'Typecast': GTypecast.text}},
-         'ParentTags' : ('eq','ne','lt','le','gt','ge',
-                         'like','notlike','between','notbetween')}}
+         'ParentTags' : ('condition','and','or','not','exist')}}
 
   for alteration in updates.keys ():
     xmlElements [alteration].update (updates [alteration])





reply via email to

[Prev in Thread] Current Thread [Next in Thread]