Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Database: Selection::find() renamed to wherePrimary() #953
Solves at least 3 cases mentioned here: http://forum.nette.org/cs/7706-api-pro-nette-database-table-selection#p58424
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
@hosiplan & @JanTvrdik: Because @dg mentioned sth similar, I'm not sure too. See http://forum.nette.org/cs/7706-api-pro-nette-database-table-selection#p58350.
Situation with order() is quite different. Order accepts FULL (order) expression, so changing to (adding) orderByDescending() would require also complete refactoring, otherwise would be possible:
$selection->orderByDescending('id ASC, name'); // ORDER BY id ASC, name DESC
I have nothing against