@wearesage/schema
    Preparing search index...

    Function OneToMany

    • OneToMany decorator - defines a one-to-many relationship

      This decorator stores metadata on the property that can be later processed by SchemaBuilder.

      Type Parameters

      • T

      Parameters

      Returns (target: any, propertyKey: string) => void