Himanshu..🥂Original post
Web Developer
so i have document named "uploads" and "users" both are in one way relation so i want to assign the upload to a particular user help me in that pls
Summary
Developers are seeking assistance with creating database relationships and assigning uploads to specific users. The provided code snippets show functions for creating uploads and sample user object structures.
Solution: To establish a relationship between uploads and users, consider adding a field in the uploads document referencing the user who uploaded the file, such as a unique ID or username. This will facilitate linking uploads to their respective users.