Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
Complete operators
Browse files Browse the repository at this point in the history
  • Loading branch information
puhitaku committed Jan 13, 2016
1 parent 0a51cbc commit 6412435
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions bqx/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,34 @@ def __ge__(self, other):
# self >= other
raise NotImplementedError

def __add__(self, other):
# self + other
raise NotImplementedError

def __sub__(self, other):
# self - other
raise NotImplementedError

def __mul__(self, other):
# self * other
raise NotImplementedError

def __truediv__(self, other):
# self / other
raise NotImplementedError

def __mod__(self, other):
# self % other
raise NotImplementedError

def __and__(self, other):
# self & other
raise NotImplementedError

def __or__(self, other):
# self | other
raise NotImplementedError


class Alias:
"""Subclass of Alias will be an alias of something like column and table.
Expand Down

0 comments on commit 6412435

Please # to comment.