PK values are not retrieved in Get & Find methods #226
ganeshan102
started this conversation in
General
Replies: 1 comment
-
Please ignore this.. we got it |
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,
We've defined model as like below,
ValidationSchema: {
PK: {
type: String,
value: '${name}-${created}'
},
SK: {
type: String
},
name: {
type: String
},
id: {
type: String,
value: '${PK}'
}
}
When we call model.find or model.get methods, the PK & id values are coming in the results. We tried to given in the fields param as well, no luck.. Can you guys help us.
Beta Was this translation helpful? Give feedback.
All reactions