Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQLSTATE[42S02]: Base table or view not found: 1146 Table many to many in laravel

seem i got the solution without change table name
  if u have bookmarks table name
    public function products() {
      return $this->belongsToMany(Product::class, 'bookmarks');
 }
 
PREVIOUS NEXT
Tagged: #Base #table #view #Table #laravel
ADD COMMENT
Topic
Name
2+2 =