Replies: 2 comments 1 reply
-
It was even easier than I thought: #210 |
Beta Was this translation helpful? Give feedback.
1 reply
-
Useful, thanks for sharing. Worth adding this pattern to the docs I think! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
all my entities have
tenantId
as part of thepk
, but now I have the use case to list all Tenants. That means I don't have any param I could use for the query. So it's basically a scan operation without any params. Nonetheless, I was wondering if there is any way to make this more performant.I was thinking I could create a 5th index
gsi5pk-gsi5sk-index
on the entity name__edb_e__
? I assume I would have to create a local attribute that stores an additional copy of__edb_e__
in order to use it as composite index.Is there another option I'm overseeing here?
Beta Was this translation helpful? Give feedback.
All reactions