Skip to content

Single Table questions #57

@TheDanBlanco

Description

@TheDanBlanco

hey folks! i've been using this library for a while and i think you've created something great here. that said, i find a few limitations that might just be from my own misuse of the library. i've tried to jump into some of the code, but the types are fairly complex!

relating data using indexes

part of single table design (std) is using indexes as secondary access patterns for relations, but i haven't found a way to do this outside of constructing my own pks & sks. is there a built-in way to handle this?

example: (please ignore sample delimiters)
pk: org#walmart
sk: store-id#uuid-etc-etc-etc
gsi1pk: type#store
gsi1sk: zone#AMER#status#open

compound keys

in the second gsi in my previous example, i want to be able to define a heirarchy using multiple parts of an object. is there a way to implement this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions