Skip to content

Saving Data Objects Overview

The API to save an object in the Backendless database can be used for two separate scenarios: (1) creating new objects in the database and (2) updating existing objects. The save operation checks if the object has objectId assigned by the server. In that case, the object is updated, otherwise it is created in the Backendless database. In case when the database does not have a table for the type of the object in the API request and when Dynamic Schema Definition is enabled, Backendless creates one and maps table's columns to the object's properties.

The objectId property is automatically assigned to all objects in the database when they are initially saved. See the Data Object section for details on objectId.