Firebase实时数据库条目到期 [英] Firebase realtime database entries expiration

查看:151
本文介绍了Firebase实时数据库条目到期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图从Firebase数据库中自动删除旧条目。
是否可以将Firebase配置为删除特定子项的旧条目?

解决方案

目前没有API自动过期Firebase数据库中的项目。这种所谓的生存时间(或ttl)将是一个有趣的补充,但目前你必须自己建立它。


I am trying to remove old entries from Firebase Database automatically. Is it possible to configure Firebase to remove old entries for a specific child ?

解决方案

There is currently no API to automatically expire items in the Firebase Database. Such a so-called time-to-live (or ttl) would be an interesting addition, but for the moment you'll have to build it yourself.

这篇关于Firebase实时数据库条目到期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆