首页 > 解决方案 > 如何在@TreeParent 上使用自定义数据库列名

问题描述

我在'parent'等属性上使用@TreeParent,treeorm将'parentId'(数据库列名)匹配到'parent',如何使用'parent_id'等自定义列名?

标签: node.js-typeorm

解决方案


推荐阅读