Dear Sir,
We are using Rest API, with PHP , If we want to create / Insert row through controller and IDatastore working fine.
But update the values in the table , still it is inserting instead of update.
Is there any easy way to update values in the DB table?
Example : Controller 1. Create user ( IDatastore <> datastore)
{
///////
}
Controller 2. UpdateUser ( Idatastore <> datastore
{
I want to Update same like PB, datastore.update().
update function wokring fine, but instead of update the row, inserting new row and I am getting primary key violation.
}
Thanks in advance.