@aws-amplify/graphql-index-transformer
TypeScript icon, indicating that this package has built-in type declarations

3.0.7 • Public • Published

GraphQL @primaryKey Transformer

Reference Documentation

@primaryKey

The @primaryKey directive allows you to define the primary key for your relational data.

Definition

directive @primaryKey(sortKeyFields: [String]) on FIELD_DEFINITION

/@aws-amplify/graphql-index-transformer/

    Package Sidebar

    Install

    npm i @aws-amplify/graphql-index-transformer

    Weekly Downloads

    39,410

    Version

    3.0.7

    License

    Apache-2.0

    Unpacked Size

    251 kB

    Total Files

    53

    Last publish

    Collaborators

    • amplify-data-dev-npm
    • amplify-studio-uibuilder
    • amplify-codegen
    • amzn-oss
    • undefobj
    • aws-amplify-ops
    • thaddmt
    • mattsb42-aws