Update a single record
Find and update a single record by primary key
db.schema.table.set
finds a record by the ID or unique identifier specified in the parameter, updates the data if found, and returns the primary key ID.
API set
Example Request
{
"method": "smartPanda.mdh.brand.set",
"params": [
1,
{
"name": "Brand Name",
"disabled": 1
}
]
}
Example Response
1
Note: supported in
>=3.0.0