Guide
API
Wiki
Forum
Community
Live Chat
Extensions
Resources
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Report an Issue
Report a Security Issue
Contribute to Yii
About
What is Yii?
Release Cycle
News
License
Team
Official logo
Yii Framework Forum
AR类,怎么获得查询结果的条数?
International
Chinese
sh-cn-yii
(147895660)
September 8, 2012, 1:09pm
1
比如,
model()->findall('id>100');
怎么知道一共查询到了多少条结果?
dahuzizyd
(Dahuzizyd)
September 12, 2012, 8:13am
2
if(count($model) > 0 )