Skip to main content

Create a single record

creates a new database record

db.schema.table.add creates a new database record.

API

Example Request

{
"method": "smartPanda.mdh.brand.add",
"params": {
"name": "Luwak"
}
}

Example Response

{
"id": 1
}
info

Returns the primary key or the unique key,
If there is no primary key or unique key, the inserted data is returned.

Note: supported in >=3.0.0