MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / FieldDeleteClause

Class FieldDeleteClause

cassandra/cqlengine/statements.py:458–471  ·  view source on GitHub ↗

deletes a field from a row

Source from the content-addressed store, hash-verified

456
457
458class FieldDeleteClause(BaseDeleteClause):
459 """ deletes a field from a row """
460
461 def __init__(self, field):
462 super(FieldDeleteClause, self).__init__(field, None)
463
464 def __unicode__(self):
465 return '"{0}"'.format(self.field)
466
467 def update_context(self, ctx):
468 pass
469
470 def get_context_size(self):
471 return 0
472
473
474class MapDeleteClause(BaseDeleteClause):

Callers 2

test_strMethod · 0.90
add_fieldMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_strMethod · 0.72