
Untitled
By: a guest on
May 15th, 2012 | syntax:
PHP | size: 0.35 KB | hits: 15 | expires: Never
$auctions = new Model_Auction(NULL, NULL, NULL, 'user');
$auctions = $auctions->select(
'*',
array( DB::expr("(date_part('epoch'::text, auctions.date_updated))::bigint"), 'date_updated_unix' )
)
->find_all();