MCPcopy
hub / github.com/ormar-orm/ormar / QueryDefinitionError

Class QueryDefinitionError

ormar/exceptions.py:51–60  ·  view source on GitHub ↗

Raised for errors in query definition: * using contains or icontains filter with instance of the Model * using Queryset.update() without filter and setting each flag to True * using Queryset.delete() without filter and setting each flag to True

Source from the content-addressed store, hash-verified

49
50
51class QueryDefinitionError(AsyncOrmException):
52 """
53 Raised for errors in query definition:
54
55 * using contains or icontains filter with instance of the Model
56 * using Queryset.update() without filter and setting each flag to True
57 * using Queryset.delete() without filter and setting each flag to True
58 """
59
60 pass
61
62
63class RelationshipInstanceError(AsyncOrmException):

Callers 15

normalize_sliceFunction · 0.90
_slice_to_limit_offsetFunction · 0.90
_slice_headFunction · 0.90
_slice_rangeFunction · 0.90
valuesMethod · 0.90
_query_aggr_functionMethod · 0.90
updateMethod · 0.90
deleteMethod · 0.90
paginateMethod · 0.90
iterateMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected