1. Home
  2. Docs
  3. UniREST Solution 3.5
  4. UniREST Server
  5. API Manager
  6. Delete

Delete

The Delete operation gives the API the ability to delete existing records of a Database table. Because this operation needs to know which record to delete, the Keys definitions are mandatory. If there are no Keys, an alert icon will appear near the DELETE label.

API Replay to Unity Game

Once called, this API will reply with the number of deleted records (if the operation succeeds).

Column option

Nonethis column will be ignored in the deleting operation.
Keythis column will be used exclusively as an ID for records selection.

MySQL interaction

From the MySQL point of view, this operation builds DELETE query with this base form:

DELETE FROM table WHERE keys

  • table: the selected table this API is updating;
  • keys: all the columns with the option “Key” and the ID if the “ID as key” option is selected. All the keys are joined by an AND operator;