196 |
'by the condition to prefix table conversion.') % otype |
'by the condition to prefix table conversion.') % otype |
197 |
|
|
198 |
|
|
199 |
|
class GJoinCondition(GObj): |
200 |
|
def __init__(self, parent=None, type="GCJoinCondition"): |
201 |
|
GObj.__init__(self, parent, type=type) |
202 |
|
|
203 |
|
class GJoin(GObj): |
204 |
|
def __init__(self, parent=None, type="GCJoin"): |
205 |
|
GObj.__init__(self, parent, type=type) |
206 |
|
|
207 |
|
class GCLeftTable(GObj): |
208 |
|
def __init__(self, parent=None, type="GCLeftTable"): |
209 |
|
GObj.__init__(self, parent, type=type) |
210 |
|
|
211 |
|
class GCRightTable(GObj): |
212 |
|
def __init__(self, parent=None, type="GCRightTable"): |
213 |
|
GObj.__init__(self, parent, type=type) |
214 |
|
|
215 |
class GCondition(GObj): |
class GCondition(GObj): |
216 |
def __init__(self, parent=None, type="GCCondition"): |
def __init__(self, parent=None, type="GCCondition"): |
341 |
'condition': { |
'condition': { |
342 |
'BaseClass': GCondition, |
'BaseClass': GCondition, |
343 |
'ParentTags': ('conditions','and','or','not','negate') }, |
'ParentTags': ('conditions','and','or','not','negate') }, |
344 |
|
'joinconditions': { |
345 |
|
'BaseClass': GJoinCondition, |
346 |
|
'ParentTags': ('conditions') }, |
347 |
|
'join': { |
348 |
|
'BaseClass': GJoin, |
349 |
|
'Attributes': { |
350 |
|
'type': { |
351 |
|
'Required': 1, |
352 |
|
'Typecast': GTypecast.joinConditionType } }, |
353 |
|
'ParentTags': ('joinconditions','join') }, |
354 |
|
'left_table': { |
355 |
|
'BaseClass': GCLeftTable, |
356 |
|
'Attributes': { |
357 |
|
'name': { |
358 |
|
'Required': 1, |
359 |
|
'Typecast': GTypecast.name } }, |
360 |
|
'ParentTags': ('join') }, |
361 |
|
'right_table': { |
362 |
|
'BaseClass': GCRightTable, |
363 |
|
'Attributes': { |
364 |
|
'name': { |
365 |
|
'Required': 1, |
366 |
|
'Typecast': GTypecast.name } }, |
367 |
|
'ParentTags': ('join') }, |
368 |
'cfield': { |
'cfield': { |
369 |
'BaseClass': GCField, |
'BaseClass': GCField, |
370 |
'Attributes': { |
'Attributes': { |