Back

Store large Strings in a DB field

  • 0
  • Databases
WhMonkey
27 Aug, 2024, 20:54

Hello,

I have a quick and easy question. I'm not sure if I'm just not understanding it right, but there seems to be a maximum length of how long a string can be in the database field. What if I want to store a very long string? Does this mean that if I have it set as an array as well, it only allows a maximum of data in the array?

I hope this makes sense, thank you! πŸ™‚

TL;DR
- Developer wants to store a very long string in a database field. - Worried about maximum length limitation. - Wondering if setting the field as an array would allow for more data. Solution: Consider using a BLOB (Binary Large OBject) data type instead of a conventional string field to store large strings in the database.
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