I am looking to use a Resource (destroy) post command to remove all rows within one column. The columns name is 'total' and it houses 'bigIntegers' but can be null. This is an SQLITE DB.
I have looked into using "truncate" but it seems that this removes all data from the table. I just want to clear the values within one particular column.
Is there an easy way using Eloquent in 4.2 to do this?
Aucun commentaire:
Enregistrer un commentaire