Welcome Guest, Not a member yet? Register   Sign In
Auto cast variables to match the datatype defined in the table
#1

Is there a way to automatically cast the return variables, when retrieving a row(s) from a database table, to match the datatype from the table structure without having to use the Entity class? This will apply the models find and findall methods as well as the builders getResults, getRow, getResultArray and getRowArray methods.
Alternately is there a way to allow an entity to be created from a table structure.
Any ideas will be appreciated.
Dirk B.
Abatrans Software
No SEO spam - see forum guidelines
Reply


Messages In This Thread
Auto cast variables to match the datatype defined in the table - by abatrans - 12-15-2022, 07:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB