![]() |
Support JSON type in baseModel - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: Support JSON type in baseModel (/showthread.php?tid=90629) |
Support JSON type in baseModel - titounnes - 04-11-2024 Hi, CI4 team. As we know, RDBMS databases such as MySQL now support the Json type. Will there be a plan, the basemodel accommodates json types? Thank you in advance. RE: Support JSON type in baseModel - kenjis - 04-11-2024 Try "Model Field Casting" and type "json". See https://codeigniter4.github.io/CodeIgniter4/models/model.html#model-field-casting https://codeigniter4.github.io/CodeIgniter4/models/model.html#data-types RE: Support JSON type in baseModel - titounnes - 04-11-2024 (04-11-2024, 08:08 PM)kenjis Wrote: Try "Model Field Casting" and type "json".Thank you for the reference. I will try it. |