Database insert’s identity returning “INSERT”

Please check out the linked topic to see an example. Nodejs: Identity returned by Insert is a nested object. It doens't return id anymore

I believe that you added it at the wrong place.