i have strange issue i have a table with a column of longtext. when i use laravel to retrieve the data many of the long text are cut off.
however if i use the php build in method (mysqli_connect, mysqli_query etc) the data retreive are not cut off
folks any idea what is going on? is there some parameter i can set in laravel?
thanks hy
found the solution had to set the config.database.connection.mysql with an options => PDO::MYSQL_ATTR_MAX_BUFFER_SIZE' => a large enogh number
i think the default size limit is 1MB
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community