Updated Record via Model with composite unique columns

Posted 1 month ago by muazzamazaz

Column not found: 1054 Unknown column 'id' in 'where clause

I have table column name destination_id

  $commission = Commission::where('destination_id',$id)->first();

   $input = Input::only('destination_id','effective_date', 'ticketPrice','commPercentage');       

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.