Your Account

Community

Topics (Upcoming)

More

View story

2
0
Retrieving a random record in Symfony using Propel
http://feeds.feedburner.com/~r/symfony/planet/~3/275010927/
Submitted by narko 3 months, 2 weeks, 3 days, 12 hours ago
Just 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: symfony

Home | Tools | Help & FAQ | About SymfonyLab | Contact us

Âé SymfonyLab 2007

Powered by coRank.com