Mukesh Kumar Tiwari

Mukesh Kumar Tiwari

  • 1.1k
  • 1k
  • 210.5k

how to opreate RowDataPacket in node js.

Feb 10 2020 8:15 AM
Rowas [
RowDataPacket {
CustomerID: 1,
CustomerNo: 0,
First_Name: 'Mukesh',
Last_Name: 'Tiwari',
Phone: '9601807879',
Email: 'mukeshtiwarimca@gmail.com',
StoreID: '1',
User_Name: null,
Password: '123456',
Create_Date: null,
Verification_Code: 0,
Temporary_Password: null,
DOB: 1988-12-28T18:30:00.000Z,
Status: 1,
Country: null,
Device_Token: 'jhjhjkhjkhjkhjk',
Notification_status: 1,
DeviceType: 'ANDROID'
}
]
Rowas:--> OkPacket {
fieldCount: 0,
affectedRows: 0,
insertId: 0,
serverStatus: 34,
warningCount: 0,
message: '',
protocol41: true,
changedRows: 0
}
 
i am not abnle to get the data from this result set. any one here help me out please..i googled a lot but could not get the soultaion. 

Answers (1)