“慢生活”不是懒惰,放慢速度不是拖延时间,而是让我们在生活中寻找到平衡。网站首页程序人生
webman-查詢構造器-参数分组,whereExists的用法
发布时间:2022-02-05 12:20:19作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
實例: public function index(Request $request)
{
ini_set('memory_limit','4096M');
//參數分組
$data = Db::table('ecms_news')
webman-查詢構造器-orWhereColumn 的用法
发布时间:2022-02-05 11:56:56作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
實例: public function index(Request $request)
{
ini_set('memory_limit','4096M');
// orWhereColumn 方法用于比较两个字段的值是否相等
webman-查詢構造器-whereColumn 的用法
发布时间:2022-02-05 11:46:24作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
實例: public function index(Request $request)
{
ini_set('memory_limit','4096M');
// whereColumn方法用于比较两个字段的值是否相等
$
webman-查詢構造器-whereDate,whereMonth,whereDay,whereYear, whereTime的用法
发布时间:2022-02-05 11:28:10作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
實例: public function index(Request $request)
{
ini_set('memory_limit','4096M');
// whereDate / whereMonth / whereDay / whereYear / where
webman-查詢構造器-whereNull ,whereNotNull,orWhereNull,orWhereNotNull的用法
发布时间:2022-02-05 10:56:29作者:雪饮
![[!--pagekey--]](/e/data/images/notimg.gif)
實例: public function index(Request $request)
{
ini_set('memory_limit','4096M');
// whereNull / whereNotNull / orWhereNull / orWhereNotNu