ArmandBriere/Archy

Exp function should track message count

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
The database that we used had message_count attribute before, the exp function should increment this variable only once every minute

Describe the solution you'd like
add this code to the exp function at the proper place
batch.update(doc_ref, ({"message_count": Increment(1)}))