I am writing a query using the Propel ORM
The query is of the form:
select * from some_table where some_table.created_at = (SELECT MAX(some_table.created_at) from some_table);
I got this far:
$c = new Criteria();
$c->addSelectColumn( MAX( .self::CREATED_AT. ) );
Anyone knows how to use Propel to do this, to save me writing RAW SQL?