Delete items in realtime db (from .. up to now)

54 views
Skip to first unread message

Marco A.

unread,
Jan 22, 2021, 9:22:47 PM1/22/21
to Firebase Google Group
Hello,
I want to deploy a simple test App (vue.js + firebase).
People can log-in and write messages to each other, however I do not want the 
db to be populated. Is it possible to write a rule that frequently deletes 
new entries.

Thanks a lot!

Arthur Thompson

unread,
Jan 22, 2021, 9:33:01 PM1/22/21
to Firebase Google Group
Hi Marco,

Rules can only answer the question of whether the incoming request is valid or not, based on developer requirements. If you want to periodically purge data from your Firebase DB (RTDB or Firestore) then you can use a scheduled function to run periodically.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/2d34ca75-bee7-4883-89a6-5bbfd0f6a177n%40googlegroups.com.

Marco A.

unread,
Jan 23, 2021, 10:57:44 PM1/23/21
to Firebase Google Group
O.k., I'll check that. Thanks for this!
Reply all
Reply to author
Forward
0 new messages