Skip to content
Back

How to change "collection Id" to "collection name"

  • 0
  • Self Hosted
bid
15 Dec, 2025, 09:58
TL;DR
Want to change "collection Id" to "collection name" for better clarity in the code. Does anyone know how to do this? Reply 1: You can achieve this by updating the database schema to replace the "collection Id" column with a new column named "collection name." Don't forget to also update your application logic to handle this change accordingly. Reply 2: Another approach would be creating a new table that maps collection Ids to collection names. This way, you can maintain referential integrity while improving clarity in the code. Reply 3: Consider utilizing an ORM (Object-Relational Mapping) framework if you
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more