bjsmasth upset code example
Example: bjsmasth upset
$new_data = [
'Name' => 'another name',
];
$crud->upsert('Account', 'API Name/ Field Name', 'value', $new_data); #returns status_code 204 or 201
$new_data = [
'Name' => 'another name',
];
$crud->upsert('Account', 'API Name/ Field Name', 'value', $new_data); #returns status_code 204 or 201