octabytes / FireO

Google Cloud Firestore modern and simplest convenient ORM package in Python. FireO is specifically designed for the Google's Firestore
https://fireo.octabyte.io
Apache License 2.0
247 stars 29 forks source link

Bug: QuerySet actions should not modify it's self but create a copy #194

Closed ADR-007 closed 1 year ago

ADR-007 commented 1 year ago
base_query = MyModel.collection.filter(my_field='my value')

results = [
for a in a_list:
    # returns correct value on the first iteration only
    results.append(base_query.filter(my_second_field=a).get())
ADR-007 commented 1 year ago

Fixed here