Consider the following maximum array size:
Now let's say a user performs a push() childByAutoId. What I expect to happen is
if (arraySize > arraySizeLimit) {
// Delete first Index
}
I am fairly new to firebase security rules. I did some reading but still struggling with this. I apologise for not having any "attempt" code to present.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…