Closed rafwell closed 7 years ago
I dont know why but using the sample on readme: DB::connection('odbc')->get('TB_Item_ContratoCliente')->all() i've get this error: Call to undefined method TCK\Odbc\ODBCConnection::get().
DB::connection('odbc')->get('TB_Item_ContratoCliente')->all()
Using the $connection in model work fine.
The documentation is not correct, try
DB::connection('odbc')->table('TB_Item_ContratoCliente')->get()->all();
I dont know why but using the sample on readme:
DB::connection('odbc')->get('TB_Item_ContratoCliente')->all()
i've get this error: Call to undefined method TCK\Odbc\ODBCConnection::get().Using the $connection in model work fine.