Builder::select(['id', 'NOW()']) escape and not escape
Hi, I would like to select some attributes and current timestamp. But the function NOW() is escaped. Is there any way how to escape some data and some not?
DB::table('blocks')->select(['id', 'NOW() as timestamp'])->join(...
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!