w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Laravel database connection: Selecting from database name in snake case

This is the behaviour that uses if no table is being explicitly defined. In your ZipCodeDetails class, you can set the table name that this model will be using.

class ZipCodeDetails extends Eloquent 
{
          protected $table = 'zipCodesDetails';
}




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.