- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
restore Method - Service Factory Reference
This method restores one or more records of the data model that were soft-deleted.
Restore One Record#
Parameters#
To restore one record, pass its ID as a parameter of the method.
Returns#
The method returns an object, whose keys are of the format {camel_case_data_model_name}_id
, and their values are arrays of restored records' IDs.
For example, the returned object of the above example is:
Restore Multiple Records#
Parameters#
To restore multiple records, pass an array of IDs as a parameter of the method.
Returns#
The method returns an object, whose keys are of the format {camel_case_data_model_name}_id
, and their values are arrays of restored records' IDs.
For example, the returned object of the above example is:
Restore Records Matching Filters#
Parameters#
To restore records matching a set of filters, pass an object of fitlers as a parameter of the method.
Returns#
The method returns an object, whose keys are of the format {camel_case_data_model_name}_id
, and their values are arrays of restored records' IDs.
For example, the returned object of the above example is: