Welcome Guest, Not a member yet? Register   Sign In
Support JSON type in baseModel
#1

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.
Reply
#2

Try "Model Field Casting" and type "json".
See
https://codeigniter4.github.io/CodeIgnit...ld-casting
https://codeigniter4.github.io/CodeIgnit...data-types
Reply
#3

(04-11-2024, 08:08 PM)kenjis Wrote: Try "Model Field Casting" and type "json".
See
https://codeigniter4.github.io/CodeIgnit...ld-casting
https://codeigniter4.github.io/CodeIgnit...data-types
Thank you for the reference. I will try it.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB