Welcome Guest, Not a member yet? Register   Sign In
Events::on('DBQuery')
#2

The ideal would be to create a new function in the model with the db fields as parameters. Or I would add a select before findAll with only the fields I want to display. There is no need for an event for this.
Reply


Messages In This Thread
Events::on('DBQuery') - by okatse - 01-14-2021, 12:33 AM
RE: Events::on('DBQuery') - by kleber - 01-19-2021, 03:00 PM
RE: Events::on('DBQuery') - by okatse - 01-20-2021, 09:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB