mavinoo / laravelBatch

insert batch and update batch in laravel
MIT License
564 stars 118 forks source link

Its possible to deactivate timestamps? #97

Closed TimoFrenzel closed 1 year ago

TimoFrenzel commented 1 year ago

Hi, nice packes....

its possible to deactivate timestamps on update?

In order not to change the update_at I save every model with $model->save(['timestamps' => false]);

Is this also somehow possible here?

greetz Timo

gergo2007 commented 1 year ago

$audio = new Audio(); $audio->timestamps = false;

Batch::update($audio, $itemsArray,'id');