I am posting data to repo for saving a database. After this I don't want to get all data again because I have 30000 reg. I just want to get last added one but emit function is not working properly. I have handleResponse
function in backend for all database transactions. and it response with id last of reg. I want to get just last one by id I mean not getall function I want to use getByid
function, but is not working.
I am posting data to repo for saving a database. After this I don't want to get all data again because I have 30000 reg. I just want to get last added one but emit function is not working properly. I have handleResponse
function in backend for all database transactions. and it response with id last of reg. I want to get just last one by id I mean not getall function I want to use getByid
function, but is not working.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.