Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在我的存储库中执行以下标准查询(有效):
$objects = $this->findAll();
我需要按它们的名称属性对这些对象进行排序。我没有幸运地在谷歌上搜索这个问题......有没有简单的方法或者我需要进行自定义查询?
$this->findBy(array("where_column", ""), array("order_column" => "desc/asc"));