Query builder returns all properties as String |
The entities are a step in the right direction. Why not create a base entity with the common field types (INT, FLOAT, DATETIME, etc.) for the query builder?
You can already do that with property casting: https://codeigniter.com/user_guide/model...ty-casting
(11-22-2021, 06:48 PM)includebeer Wrote: You can already do that with property casting: https://codeigniter.com/user_guide/model...ty-casting Exaclty what I meant. But still need to create the entity class. I was wondering if CI can do it in a regular query. |
Welcome Guest, Not a member yet? Register Sign In |