摘要: 1.以某字段开头的数据查询条件 $title = input('param.title'); $where['title'] = new \MongoDB\BSON\Regex("^{$title}",'i'); //已title开头的字 2.原生用法: //query 查询列表 $command 阅读全文
posted @ 2019-10-26 11:49 北往星辰 阅读(382) 评论(0) 推荐(0) 编辑