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

Write

The Write operation gives the API the ability to write a new record into a Database table.

Keep in mind this operation only write new records; it doesn't update existing records. If you need an operation that can write and update, see the Update operation features.

API Reply to the Unity Game

Once called, this API will reply with the id of the new record (if the operation succeeds).

Column option

Writethe value received from the Unity game will be written in this column.
Nonethis column will be ignored in the writing operation.

MySQL interaction

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

INSERT INTO table (columns) VALUES (values)

  • table: the selected table this API is writing;
  • columns: all the columns with the option “Write”;
  • values: the values received from the Unity game;