Files
deb-python-cassandra-driver/docs/api/cassandra/cqlengine/query.rst
Kai Lautaportti a0569f1669 Expose conflicting data in case of LWTException
Adds a custom attribute, `existing`, to the LWTException instance which
allows the application layer to inspect the values read from Cassandra
which conflicted with the attempted conditional write.

The documentation already referred to the `existing` attribute but it
was not implemented.
2016-02-23 12:35:23 -06:00

44 lines
869 B
ReStructuredText

``cassandra.cqlengine.query`` - Query and filter model objects
=================================================================
.. module:: cassandra.cqlengine.query
QuerySet
--------
QuerySet objects are typically obtained by calling :meth:`~.cassandra.cqlengine.models.Model.objects` on a model class.
The methods here are used to filter, order, and constrain results.
.. autoclass:: ModelQuerySet
.. automethod:: all
.. automethod:: batch
.. automethod:: consistency
.. automethod:: count
.. automethod:: filter
.. automethod:: get
.. automethod:: limit
.. automethod:: order_by
.. automethod:: allow_filtering
.. automethod:: timestamp
.. automethod:: ttl
.. _blind_updates:
.. automethod:: update
.. autoclass:: DoesNotExist
.. autoclass:: MultipleObjectsReturned
.. autoclass:: LWTException