当前位置:网站首页>Laravel打印执行的SQL语句
Laravel打印执行的SQL语句
2022-08-02 03:26:00 【陌潇】
DB::connection()->enableQueryLog();#开启执行日志
$result = DB::table('advert')->whereJsonContains('tag',"1")->get();
dd(DB::getQueryLog());
边栏推荐
猜你喜欢

Introduction to PHP (self-study notes)

hackmyvm: juggling walkthrough

动力:2 vulnhub预排

File upload vulnerability

How to log in to Alibaba Cloud server using the admin account

GreenOptic: 1 vulnhub walkthrough

管理会计(对内)指引、管理会计要素及其具体内容(可能考,考前记一下,推荐记一下四个大点即可)、

PHP反序列化漏洞

(5) Modules and packages, encoding formats, file operations, directory operations

VIKINGS: 1 vulnhub walkthrough
随机推荐
The roll call system and array elements find maximum and minimum values for sorting of objects
After Alibaba Cloud sets up domain name resolution redirection, I cannot use Chrome to access it
The first time to tear the code by hand, how to solve the problem of full arrangement
一个网络安全小白鼠的学习之路——nmap的基本使用
pytorch:保存和加载模型
(7) superficial "crawlers" process (concept + practice)
redis未授权访问(4-unacc)
Win10 解决AMD平台下SVM无法开启的问题
The CTF introductory notes of SQL injection
学IT,找工作——移除链表元素
CTF之xxe
hackmyvm: controller walkthrough
VIKINGS: 1 vulnhub walkthrough
什么是广告电商商业模式?这几个门派告诉你
By figure, a (complete code at the end)
超级云APP,陪伴您一起成长的软件
PALISADE:CKKS的使用
Alfa: 1 vulnhub walkthrough
学IT,找工作——反转链表
hackmyvm: kitty walkthrough