Get a record
Get a record based on unique identifier
db.schema.table.getByUK Get a record based on unique identifier.
API getByUK
Example Request
{
"method": "smartPanda.mdh.brand.getByUK",
"params": {
"id": 1
}
}
The request parameter is a JSON object
containing the field names and values of the primary or unique key.
Example Response
{
"id": 1,
"name": "Luwak"
}
info
If empty, returns an empty object {}, instead of null.
Note: supported in
>=3.0.0