In my Firebase I have a number of items of data, in this case they are announcements. Each announcement has a child property of "ID", which is unique for every announcement. Is there a way I can enforce that the ID is unique when I post announcements to the database via rest? That is, if I tried to add an announcement with the same ID twice, the second one would fail. I suspect I can do something with rules, but I am not sure.
Thanks,
Declan
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…