TypeORM: How to count relationships and turn them into boolean

后端 未结 0 1542
北海茫月
北海茫月 2021-01-20 16:17

Is there any way to count the relationship using the loadRelationCountAndMap method and change it to Boolean?

For example, there are comments and user entity, and use

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