MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / create

Method create

cassandra/cqlengine/query.py:981–990  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

979 return self._only_or_defer('defer', fields)
980
981 def create(self, **kwargs):
982 return self.model(**kwargs) \
983 .batch(self._batch) \
984 .ttl(self._ttl) \
985 .consistency(self._consistency) \
986 .if_not_exists(self._if_not_exists) \
987 .timestamp(self._timestamp) \
988 .if_exists(self._if_exists) \
989 .using(connection=self._connection) \
990 .save()
991
992 def delete(self):
993 """

Callers

nothing calls this directly

Calls 8

usingMethod · 0.80
if_existsMethod · 0.80
timestampMethod · 0.80
if_not_existsMethod · 0.80
ttlMethod · 0.80
saveMethod · 0.45
consistencyMethod · 0.45
batchMethod · 0.45

Tested by

no test coverage detected