Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Entity - allowedFields inconsistancy
Post: RE: Entity - allowedFields inconsistancy

@MGatner - I have concluded that it is not a bug. Entity does not allow allowedField out of the box. Hence I created another posting in the 'features request' forum. https://forum.codeigniter.com/thr...
2,697 Views
4 Replies
09-05-2021, 10:22 AM
maximusto
    Thread: Entity - allowedFields add functionality
Post: RE: Entity - allowedFields add functionality

(The $datamap functionality would also be very useful at the entity level so that it can be used standalone from model.) EDIT: ugh while playing further I set up the entity in error as: Code: -- use ...
3,143 Views
1 Replies
09-03-2021, 12:09 PM
maximusto
    Thread: Entity - allowedFields add functionality
Post: Entity - allowedFields add functionality

As per https://forum.codeigniter.com/forum-29.html I thought by adding $allowedFields to an entity that an Entity would behave similar to a Model. (Indeed I thought that defining $attributes was the...
3,143 Views
1 Replies
08-29-2021, 06:19 PM
maximusto
    Thread: Entity - allowedFields inconsistancy
Post: RE: Entity - allowedFields inconsistancy

ojmichael Wrote: (08-29-2021, 04:39 PM) -- I don't think entities have an allowedFields property. -- Thank you, sometimes the most simple answer is the best. Despite what I typed in my question I ...
2,697 Views
4 Replies
08-29-2021, 05:47 PM
maximusto
    Thread: Entity - allowedFields inconsistancy
Post: Entity - allowedFields inconsistancy

I have been using CI4 models with entities. I have found an inconsistency with model and entity behaviour and would appreciate some advice on whether this is a 'bug-like' feature and/or whether there...
2,697 Views
4 Replies
08-29-2021, 02:04 PM
maximusto
    Thread: db query builder
Post: RE: db query builder

InsiteFX Wrote: (09-03-2019, 03:01 AM) -- You broke the CodeIgniter Golden Rule - You never ever edit a System file... -- I know..., the only purposely unextendable controller of the lot... the holy ...
3,564 Views
3 Replies
09-03-2019, 08:22 AM
maximusto
    Thread: db query builder
Post: db query builder

I have a need to load multiple records into a database. There is a chance that some of these records might be duplicates (existing primary key). I want this to be fast and secure (no sql injection e...
3,564 Views
3 Replies
09-01-2019, 04:39 PM
maximusto

Theme © iAndrew 2016 - Forum software by © MyBB