Laravel 5.5 DB code:
DB::table('users')->where('company_id', 'ACB')->toSql()
I expect result as
SELECT * FROM `users` where `company_id` = `ACB`
But, I got following result;
select * from `users` where `company_id` = ?
What I did wrong ? Thanks
DB::table('users')->where('company_id', 'ACB')->get()that case actual query isselect * from users where company_id ='ACB'