Welcome Guest, Not a member yet? Register   Sign In
Model with many allowedFields data
#4

(08-02-2022, 10:46 PM)Ahmed Haroon Wrote: you mean, instead of marking allowedFields which are various you want NOTallowedFields which are fewer
yet i failed to find this type of thing. may be seniors will advise for proper solution, if it is a valid question.
happy learning CI4.

the solution is: $ClientiModel->protect(false)->insert(array("column"=>"val"));
Reply


Messages In This Thread
Model with many allowedFields data - by pws - 08-02-2022, 11:58 AM
RE: Model with many allowedFields data - by pws - 08-03-2022, 09:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB