class documentation

class Combinable:

Known subclasses: django.db.models.expressions.Expression, django.db.models.expressions.F, django.db.models.expressions.Subquery

View In Hierarchy

Provide the ability to combine one or two objects with some connector. For example F('foo') + F('bar').
Constant ADD Undocumented
Constant BITAND Undocumented
Constant BITLEFTSHIFT Undocumented
Constant BITOR Undocumented
Constant BITRIGHTSHIFT Undocumented
Constant BITXOR Undocumented
Constant DIV Undocumented
Constant MOD Undocumented
Constant MUL Undocumented
Constant POW Undocumented
Constant SUB Undocumented
Method __add__ Undocumented
Method __and__ Undocumented
Method __mod__ Undocumented
Method __mul__ Undocumented
Method __neg__ Undocumented
Method __or__ Undocumented
Method __pow__ Undocumented
Method __radd__ Undocumented
Method __rand__ Undocumented
Method __rmod__ Undocumented
Method __rmul__ Undocumented
Method __ror__ Undocumented
Method __rpow__ Undocumented
Method __rsub__ Undocumented
Method __rtruediv__ Undocumented
Method __sub__ Undocumented
Method __truediv__ Undocumented
Method ​_combine Undocumented
Method bitand Undocumented
Method bitleftshift Undocumented
Method bitor Undocumented
Method bitrightshift Undocumented
Method bitxor Undocumented
ADD: str =

Undocumented

Value
'+'
BITAND: str =

Undocumented

Value
'&'
BITLEFTSHIFT: str =

Undocumented

Value
'<<'
BITOR: str =

Undocumented

Value
'|'
BITRIGHTSHIFT: str =

Undocumented

Value
'>>'
BITXOR: str =

Undocumented

Value
'#'
DIV: str =

Undocumented

Value
'/'
MOD: str =

Undocumented

Value
'%%'
MUL: str =

Undocumented

Value
'*'
POW: str =

Undocumented

Value
'^'
SUB: str =

Undocumented

Value
'-'
def __add__(self, other):

Undocumented

def __and__(self, other):

Undocumented

def __mod__(self, other):

Undocumented

def __mul__(self, other):

Undocumented

def __neg__(self):

Undocumented

def __or__(self, other):

Undocumented

def __pow__(self, other):

Undocumented

def __radd__(self, other):

Undocumented

def __rand__(self, other):

Undocumented

def __rmod__(self, other):

Undocumented

def __rmul__(self, other):

Undocumented

def __ror__(self, other):

Undocumented

def __rpow__(self, other):

Undocumented

def __rsub__(self, other):

Undocumented

def __rtruediv__(self, other):

Undocumented

def __sub__(self, other):

Undocumented

def __truediv__(self, other):

Undocumented

def _combine(self, other, connector, reversed):

Undocumented

def bitand(self, other):

Undocumented

def bitleftshift(self, other):

Undocumented

def bitor(self, other):

Undocumented

def bitrightshift(self, other):

Undocumented

def bitxor(self, other):

Undocumented