I want to convert a sql statement using a subquery to a typeorm

前端 未结 0 470
逝去的感伤
逝去的感伤 2020-11-22 02:52

How can I write the following sql statement in typeorm?

SELECT balance FROM ${tableName} WHERE created_at=(SELECT MAX(created_at) FROM ${tableName} WHERE tale         


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