8 months ago

Raw query not running

Posted 8 months ago by ssquare

I am trying to run raw query as follow:

$rawStatement = 'SELECT table_rows "Rows Count" FROM information_schema.tables WHERE table_name="table_name" AND table_schema="db_name"';


Too few arguments to function Illuminate\Database\Connection::raw(), 0 passed in D:\wamp64\www\project\vendor\laravel\framework\src\Illuminate\Database\DatabaseManager.php on line 327 and exactly 1 expected

This sql is running from phpyadmin

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