Jaymon / prom

A PostgreSQL or SQLite orm for Python
MIT License
22 stars 4 forks source link

should the database call methods of Query clone it before calling it? #68

Closed Jaymon closed 1 year ago

Jaymon commented 6 years 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:

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

Jaymon commented 1 year ago

I don't think this needs to be worried about