ruby on rails order by two database attributes

前端 未结 0 1041
滥情空心
滥情空心 2021-01-15 01:31

I have a table and in this table i need the finished attribute if its null to be first but at the same time i want the due date to be ordered asc

def all_case         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题