How to delete record with composite primary keys using Eloquent? – Laravel
I'm trying to delete a record with two primary keys, using Eloquent - Laravel. This is my model class Like extends Model { //protected $primaryKey = ['crdid', 'usrid']; public $timestamps = false; use HasFactory; } Controller try{ $dellike = Like::where('crdid',…