API 参考
    正在准备搜索索引...
    • Marks entity to work like a tree. Tree pattern that will be used for the tree entity should be specified.

      参数

      • type: TreeType
      • 可选options: ClosureTreeOptions

      返回 ClassDecorator

      decorator must be used in tree entities. TreeRepository can be used to manipulate with tree entities.