return custom query select in activerecord

前端 未结 2 1751
遥遥无期
遥遥无期 2020-12-10 06:27

I\'ve got a query that does some math and returns a calculated custom select field with the result set. I cannot figure out how to access that in the activerecord object tha

2条回答
提交回复
热议问题