jeudi 25 octobre 2018

Laravel Function/implementation to check the column in a DB or something similar all the time?

I am wondering if there is a function that is always checking a column in a DB and it runs in the background.

For example:

if(date<Carbon::now())
{
  //change value in other column
}

That data flow but always checking the DB constantly. I think this can be done through events and listeners? But I am unsure.

Thanks!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire