
I want a new database to be created when a new user is created and I should be able to get the database ID when user logs in and then only that user should be able to perform operations on that database. But I'm facing issue with linking the new database with user Any idea how to do it?

Hi - what issue are you facing?

I opine, you can create a function of creating documents triggered only when a new user (signup ) is done
upon login -> login function can trigger the event of giving you document ID - which you can maybe choose to be a global variable ? (not safe) but in any other way
Recommended threads
- Creating a relationship with nested obje...
{ "data": { "name": "DiDi", "type": "Software Development", "userJobs": [{ "$id": "68cbf1e2003612fb13ca", "j...
- Realtime integration with SSR auth
Hey, I have a nextjs website with SSR auth, works great. I use a session client for user verification and an admin client with API key. Both is used with node-...
- Adding "name" column to table creates 2-...
As stated, im adding the "name" column to one table, it adds 4 duplicates. In another table it adds 3 duplicates, and when I delete 1 of them, all duplucates di...
