I have a collection called company
.
All the companies are going to be stored like in my screenshot.
When I add another company, I want to check if the name
already exists or not.
How to perform that?
Here, "Nova" and "Tradetech" are two companies.
When I try to add "Nova" with the field name: "nova"
again, I want to show a notice: "Company already exists!".
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…