Skip to content
Advertisement

get id value from req.body.id for new value of object

I have a field with id value in it. It auto created while created a new data. Concatenated with string. I have doing a try, but it gets undefined value.

  1. code:
JavaScript
  1. result: result

Advertisement

Answer

Do you sure you sent the id property to the server? or was it just created by the ORM?

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement