Your Account
Community
Topics (Upcoming)
More |
View story
Retrieving a random record in Symfony using Propel
http://feeds.feedburner.com/~r/symfony/planet/~3/275010927/
Submitted by
narko
3 weeks, 21 hours agoJust a quicky, as I had to spend 10 mins looking this up hopefully it’ll save someone else time later.
I need to retrieve a random user from the users table, but didn’t know how to express a random record… this method will return a single random user, or can take an argument to return more than 1
UserPeer
public static function...
Tags: none
|