
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
- How To Send Email Verification From Serv...
How can I send email verification from server action or component after sign up in next.js ? Is there any way ?
- x-appwrite-user-jwt missing
Even for logged in users I can't see "x-appwrite-user-jwt" or "x-appwrite-user-id" in headers of an appwrite function. I'm trying to send "x-appwrite-user-id" m...
- ATTRIBUTE NOT SHOWING DELETE
Hi, I'm trying to delete an attribute in my collection but it won't delete, It's not even showing the delete when I click on the hamburger icon, Its showing onl...
