• Preparing search index...
  • The search index is not available
@symphoniacloud/dynamodb-entity-store
  • @symphoniacloud/dynamodb-entity-store
  • createEntity

Function createEntity

  • createEntity<TItem, TPKSource, TSKSource>(type, typePredicate, pk, sk): Entity<TItem, TPKSource, TSKSource>
  • Type Parameters

    • TItem extends DynamoDBValues
    • TPKSource
    • TSKSource

    Parameters

    • type: string
    • typePredicate: TypePredicateFunction<TItem>
    • pk: ((source: TPKSource) => string)
        • (source): string
        • Parameters

          • source: TPKSource

          Returns string

    • sk: ((source: TSKSource) => string)
        • (source): string
        • Parameters

          • source: TSKSource

          Returns string

    Returns Entity<TItem, TPKSource, TSKSource>

    • Defined in packages/dynamodb-entity-store/src/lib/support/entitySupport.ts:27

Settings

Member Visibility
@symphoniacloud/dynamodb-entity-store
  • Loading...

Generated using TypeDoc