迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發(fā)框架,基于MIT開源許可協(xié)議發(fā)布,免費且不限制商業(yè)使用,是免費開源的產(chǎn)品,以萬端互聯(lián)為設(shè)計理念,支持的微信公眾號、小程序、APP客戶端、移動端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
$this->table("member")->where("username", "admin")->getRow(); // 賬號是admin的會員數(shù)據(jù) 操作數(shù)據(jù)庫模型要是多個where怎么編寫
鏈式寫法啊,多個where寫鏈在一起就行了
回復迅??蚣軇?chuàng)始人舉個栗子
回復迅??蚣軇?chuàng)始人
$data = $this->table($this->tablename)->where(['uid'=>(int)$data['uid'],'cid'=>$data['cid'],'module'=>$data['module']])->getRow();
$this->table("member")->where(" wehre 條件語句 and 其他語句")->getRow();
鏈式寫法啊,多個where寫鏈在一起就行了
回復迅??蚣軇?chuàng)始人舉個栗子
回復迅??蚣軇?chuàng)始人
$this->table("member")->where(" wehre 條件語句 and 其他語句")->getRow();