465 |
# Make sure to use the column object of the transient table. The |
# Make sure to use the column object of the transient table. The |
466 |
# left argument is always a column object so we can just ask the |
# left argument is always a column object so we can just ask the |
467 |
# t_table for the right object. |
# t_table for the right object. |
468 |
return self.t_table.SimpleQuery(self.t_table.Column(left.name), |
if hasattr(right, "name"): |
469 |
comparison, right) |
return self.t_table.SimpleQuery(self.t_table.Column(left.name), |
470 |
|
comparison, |
471 |
|
self.t_table.Column(right.name)) |
472 |
|
else: |
473 |
|
return self.t_table.SimpleQuery(self.t_table.Column(left.name), |
474 |
|
comparison, right) |