django-sql-utils icon indicating copy to clipboard operation
django-sql-utils copied to clipboard

~Exists doesn’t preserve filter

Open rdaysky opened this issue 1 year ago • 0 comments

>>> ex = Exists("x", filter=Q(y=42))
>>> ex.filter
<Q: (AND: ('y', 42))>
>>> (~ex).filter
<Q: (AND: )>

rdaysky avatar Jun 18 '24 22:06 rdaysky