示例#1
0
 def add_to_set(self, qfield, value):
     ''' Refer to:  :func:`~ommongo.update_expression.UpdateExpression.add_to_set`'''
     return UpdateExpression(self).add_to_set(qfield, value)
示例#2
0
 def pop_last(self, qfield):
     ''' Refer to:  :func:`~ommongo.update_expression.UpdateExpression.pop_last`'''
     return UpdateExpression(self).pop_last(qfield)
示例#3
0
 def remove_all(self, qfield, *value):
     ''' Refer to:  :func:`~ommongo.update_expression.UpdateExpression.remove_all`'''
     return UpdateExpression(self).remove_all(qfield, *value)
示例#4
0
 def extend(self, qfield, *value):
     ''' Refer to:  :func:`~ommongo.update_expression.UpdateExpression.extend`'''
     return UpdateExpression(self).extend(qfield, *value)
示例#5
0
 def inc(self, *args, **kwargs):
     ''' Refer to:  :func:`~ommongo.update_expression.UpdateExpression.inc`'''
     return UpdateExpression(self).inc(*args, **kwargs)
示例#6
0
 def unset(self, qfield):
     ''' Refer to:  :func:`~ommongo.update_expression.UpdateExpression.unset`'''
     return UpdateExpression(self).unset(qfield)
示例#7
0
 def set(self, *args, **kwargs):
     ''' Refer to: :func:`~ommongo.update_expression.UpdateExpression.set`'''
     return UpdateExpression(self).set(*args, **kwargs)