单个 shopify 元字段的大小限制

Size limit for a single shopify meta field

单个 Shopify 元字段是否有大小限制?

喜欢,最多只能存储 1kb 的数据。

是的。该值限制为 65,535 个字符,与 MySQL TEXT 列相同。 键限制为 30 个字符,命名空间限制为 20 个字符。

https://groups.google.com/forum/#!msg/shopify-app-discuss/os_Ll7PChGg/jpQgOKwSANEJ http://docs.shopify.com/api/metafield#create

The key is limited to 30 characters, and the namespace has a maximum of 20 characters.

关于值的长度,see here:

The current implementation of a metafield value field is a MySQL TEXT column... a TEXT column has a maximum length of 65535 (2^16 - 1) characters. I’m not encouraging you to start storing enormous blobs, but the limit is pretty big.

此外,您可以拥有的元字段数量没有限制(参见 here and here)。