当前位置:网站首页>Laravel打印执行的SQL语句
Laravel打印执行的SQL语句
2022-08-02 03:26:00 【陌潇】
DB::connection()->enableQueryLog();#开启执行日志
$result = DB::table('advert')->whereJsonContains('tag',"1")->get();
dd(DB::getQueryLog());
边栏推荐
- Google Hacking
- hackmyvm: again walkthrough
- 管理会计(对内)指引、管理会计要素及其具体内容(可能考,考前记一下,推荐记一下四个大点即可)、
- The learning path of a network security mouse - the basic use of nmap
- DNS详解
- Introduction to PHP (self-study notes)
- Laravel随笔记录
- Kali环境下Frida编写脚本智能提示
- (1) print()函数、转义字符、二进制与字符编码 、变量、数据类型、input()函数、运算符
- How to calculate the distance between two points on the earth (with formula derivation)
猜你喜欢
CTF-Neting Cup Past Topics
hackmyvm: kitty walkthrough
C language uses stack to calculate infix expressions
Activity
Offensive and defensive world - novice MISC area 1-12
hackmyvm: controller walkthrough
The first time to tear the code by hand, how to solve the problem of full arrangement
hackmyvm-bunny预排
PHP反序列化漏洞
(6) Design of student information management system
随机推荐
(2) Sequence structures, Boolean values of objects, selection structures, loop structures, lists, dictionaries, tuples, sets
财产清查概述、 全面清查的情况、局部清查的情况、财产清查的方法、财产清查结果的处理
Alfa: 1 vulnhub walkthrough
【一句话攻略】彻底理解JS中的回调(Callback)函数
【泰山众筹】模式为什么一直都这么火热?是有原因的
Anaconda报错:An unexpected error has occurred. Conda has prepared the above report 解决办法
How to log in to Alibaba Cloud server using the admin account
如何一步一步的:玩转全民拼购!
hackmyvm: kitty walkthrough
After Alibaba Cloud sets up domain name resolution redirection, I cannot use Chrome to access it
MOMENTUM: 2 vulnhub walkthrough
会计凭证概述、原始凭证、原始凭证的种类、原始凭证的基本内容、原始凭证的填制要求、原始凭证的审核
对账、结账、错账更正方法、划线更正法、红字更正法、补充登记法
hackmyvm: juggling walkthrough
(2) 顺序结构、对象的布尔值、选择结构、循环结构、列表、字典、元组、集合
一次代码审计的笔记(CVE-2018-12613 phpmyadmin文件包含漏洞)
web安全之目录遍历
C language uses stack to calculate infix expressions
hackmyvm: again walkthrough
Praying: 1 vulnhub walkthrough