QeePHP 开源社区 - 引领 PHP 开发新思想、新模式's Archiver
QeePHP 开源社区 - 引领 PHP 开发新思想、新模式
»
项目管理讨论与实际应用展示
» 怎样在findall中加入distinct参数
senlin2684
发表于 2008-12-22 17:58
怎样在findall中加入distinct参数
$sql = "select count(distinct filmid) as cn from torrent_movies where ".$conditions;
有类似于这样的运用,请问如何运用 function & findAll($conditions = null, $sort = null, $limit = null, $fields = '*', $queryLinks = true)来实现,主要是如何传参。
页:
[1]
Powered by
Discuz! Archiver
7.0.0 © 2001-2009
Comsenz Inc.