You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@prakashelango@lihka1202 continuing from user settings. Following is one of the methods to allow user to group/add new group
Collection for existing/predefined things (Collection name: Picture)
{
_id: ObjectId,
imageUrl: String,
// Other picture-related fields such as voice
}
Adding UserGroupCollection (Predefined Groups):
{
_id: ObjectId,
groupName: String,
pictures: [ObjectId], // References to pictures in the Picture collection
}
UserPictureCollection (User-Created Collections):
{
_id: ObjectId,
userId: ObjectId, // Reference to the User collection
collectionName: String,
pictureGroups: [
{
groupName: String,
pictures: [ObjectId], // References to pictures in the Picture collection
},
// Additional picture groups as needed
],
}
Fields
GroupName,
Image,
Hidden Fields Id - UserId
The text was updated successfully, but these errors were encountered: