Skip to content
Snippets Groups Projects
Commit 7029b3d2 authored by Marco Biasini's avatar Marco Biasini
Browse files

added __div__ to BinaryColExpr

parent ed575e7c
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,9 @@ class BinaryColExpr:
def __mul__(self, rhs):
return BinaryColExpr(operator.mul, self, rhs)
def __div__(self, rhs):
return BinaryColExpr(operator.div, self, rhs)
class TableCol:
def __init__(self, table, col):
self._table=table
......@@ -119,6 +122,7 @@ class TableCol:
def __mul__(self, rhs):
return BinaryColExpr(operator.mul, self, rhs)
def __div__(self, rhs):
return BinaryColExpr(operator.div, self, rhs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment