Can I use an entities sortKey as number #183
-
I have an entity which needs as sortKey a number
timestamp is of type number but as far as I can see the sortKey timestamp is then rendered as string before PUT. Is it possible to change that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @obiwabrakenobi , Yes, it is supported via
Let me know if this helps. |
Beta Was this translation helpful? Give feedback.
Hi @obiwabrakenobi ,
Yes, it is supported via
aliases
.if your entity contains an attribute named as
timestamp
, then instead of defining a template for sortKey as{{timestamp}}
, you can directly reference that attribute, likeLet me know if this helps.