I am building a booking app for people to book painters.
At current in my database, I have a collection called ‘Painters’ and have individual details about them in the properties, Eg, ‘Name’, ‘Painting style’, ‘Age’, Years of experience’ etc.
I want to make a list so that bookers can ‘Shortlist’ the painters they like.
should my database be collections of individual painters or just under one collection?
Eg:
‘Painter 1’
‘Name’,
‘Painting style’,
‘Age’
New collection
‘Painter 2’
‘Name’,
‘Painting style’,
‘Age’
No you don’t need separate collections for each painters. Create a one collection of Painters and create properties and you can add the details. Shortlist means filtering the list?