Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/laravel/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
用于存储来自laravel的json数据的表列类型_Laravel_Laravel 5_Laravel 5.1 - Fatal编程技术网

用于存储来自laravel的json数据的表列类型

用于存储来自laravel的json数据的表列类型,laravel,laravel-5,laravel-5.1,Laravel,Laravel 5,Laravel 5.1,我想在表的一列上存储一些json数据。 例如 要设置的列类型是什么,长文本?存储json部分是否使用属性转换?您可以根据应用程序的要求使用文本或长文本类型 The maximum length of text input is: 65,535 (216−1) bytes = 64 KiB The maximum length of longtext input is: 4,294,967,295 (232−1) bytes = 4 GiB 属性转换的用法如下所示: The maximum l

我想在表的一列上存储一些json数据。 例如


要设置的列类型是什么,长文本?存储json部分是否使用属性转换?

您可以根据应用程序的要求使用文本或长文本类型

The maximum length of text input is: 65,535 (216−1) bytes = 64 KiB
The maximum length of longtext input is: 4,294,967,295 (232−1) bytes =  4 GiB
属性转换的用法如下所示:

The maximum length of text input is: 65,535 (216−1) bytes = 64 KiB
The maximum length of longtext input is: 4,294,967,295 (232−1) bytes =  4 GiB