Wrapper of PDO.
Procedure oriented, Pre process, As supplement of ORM.
composer require qdladoooo/laravel-sweeter-fetch
//take db_connection as parameter
$sf = new LaravelSF();
Execute none query
//return [row1, row2, ...]
Execute one row
//return the first row by array
//return a column
//return a number
The laravel-sweeter-fetch is open-sourced software licensed under the MIT license.