当前位置:网站首页>laravel 打印sql
laravel 打印sql
2022-04-21 06:38:00 【Mars慕容】
\DB::connection()->enableQueryLog(); //开启执行日志,加在需要打印的SQL语句之前
dd(\DB::getQueryLog()); //获取查询语句、参数和执行时间
版权声明
本文为[Mars慕容]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_38324424/article/details/123113236
边栏推荐
猜你喜欢

Troubleshooting NP and OSPF

Database requirement analysis of online ordering system

Common weak passwords in network security devices

Sort method ----- > Hill sort, heap sort

NP、OSPF邻居邻接关系

关于数据治理平台中数据仓库ODS、DW和DM概念理解

404 problem in idea configuration servlet solution

Principle and introduction of elk log analysis system

DOS command kills process

Leetcode 1557.可以到达所有点的最少点数目(Minimum Number of Vertices to Reach All Nodes)
随机推荐
Studio3t 过期激活办法/以及重新设置使用日期的脚本不可用解决办法/Studio 3T无限激活原创
Solve the problem of Chinese garbled code
GeoServer 2.20.1 解决跨域问题 CORS
Use C # to connect with Hangao highgo database to obtain user data table name, table structure, table name and primary key
论文阅读:Cached and Confused: Web Cache Deception in the wild
Common weak passwords in network security devices
About DM Dameng database, SQL to obtain user table information, data table structure, data table creation statement, primary key and other information
Nmap scanning and scapy projects
Testing and Benchmarking
Base64 Encoding
modern cryptography
Sorting method (3) = > quick sort and merge sort
UMLet 使用说明之绘制用例图
DOS command kills process
leetcode 704·二分查找
Blue Bridge Cup -- sequence sequencing problem
Defining “Disinformation“(定义“虚假信息”)
Blue Bridge Cup - A + B problem
数据库日志级别解析:(2022.2.21-2022.2.27)
Number