Closed Jaymon closed 1 year ago
if methods like get, count, and delete cloned the Query instance before sending it off it would make sure you can do things like:
get
count
delete
q = Orm.query.get_pk(1234) q.get() q.delete()
This probably already works so the problem might actually be I don't have tests in place that verify this will always work so I can't break it
I don't think this needs to be worried about
if methods like
get
,count
, anddelete
cloned the Query instance before sending it off it would make sure you can do things like:This probably already works so the problem might actually be I don't have tests in place that verify this will always work so I can't break it