sfdx force:data:record:update
Updates a single record
Options
Name | Description |
---|---|
--json | Format output as json |
--loglevel <loglevel> | Logging level for this command invocation |
-u, --targetusername <targetusername> | Username or alias for the target org; overrides default target org |
--apiversion <apiversion> | Override the api version used for api requests made by this command |
-s, --sobjecttype <sobjecttype> | The sObject type of the record you’re updating |
-i, --sobjectid <sobjectid> | The ID of the record you’re updating |
-w, --where <where> | A list of <fieldName>=<value> pairs to search for |
-v, --values <values> | The <fieldName>=<value> pairs you’re updating |
-t, --usetoolingapi | Update the record with Tooling API |
--perflog | Get API performance data |