-
As stated in the title, is it possible map a single attribute to multiple composite keys? For example, if I had a sort key with the structure const Test= new Entity({
...
attributes: {
...
sk: { hidden: true, sortKey: true },
sk_2: { hidden: true },
status: ['sk', 0],
username: ['sk_2', 0],
// I want to map this attribute to the 'sk_2' composite key as well
date_added: ['sk', 1],
},
}); |
Beta Was this translation helpful? Give feedback.
Answered by
naorpeled
Sep 3, 2023
Replies: 1 comment
-
Hey @Jroon94, The composite key properties functionality will be deprecated soon, Feel free to ping me if you have any questions/need anything 😎 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
naorpeled
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @Jroon94,
thanks for opening this thread and sorry for the delay.
The composite key properties functionality will be deprecated soon,
therefore we encourage using the
default
property option instead.Here is an example.
Feel free to ping me if you have any questions/need anything 😎