Back

[SOLVED]Any limit on the size of String Attribute

  • 0
  • Databases
  • Web
puffybatman
2 Apr, 2023, 13:40

Say you want store blog posts, normally in mySQL you would setup the DB column to be text or longtext type.

TL;DR
There is no limit on the size of a String Attribute in Appwrite's database, as it is based on Utopia-PHP which has a limit of 4294967295 characters. So you can store large amounts of data such as blog posts without any issues.
Binyamin
2 Apr, 2023, 13:55

The limit is 4294967295

Binyamin
2 Apr, 2023, 13:55

The number is from here https://github.com/utopia-php/database/blob/main/src/Database/Adapter/SQL.php#L151 Appwrite database is based on Utopia-PHP

puffybatman
2 Apr, 2023, 14:03

aah nice spot, thanks

puffybatman
2 Apr, 2023, 14:23

[SOLVED]Any limit on the size of String Attribute

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