Would you like to contribute to the Titanium docs? To get started, sign up for an account on the Appcelerator Wiki and sign our CLA.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed extra returns

...

Name

Description

ModelDeleteAll

A Model specific node. Invokes the Delete All API on a specified model and returns the response.

Instance configuration

 

Property

Description

Required

Type

model

The name of the model of which to invoke the Delete All API.

yes

string

Instance parameters

These are all specified by the chosen model. 

Example

 

Code Block
linenumberstrue
languagejs
"model.deleteall": {
 "type": "ModelDeleteAll",
 "config": {
   "model": "appc.arrowdb/acl"
 },
 "parameters": [],
 "response": {
   "context": {},
   "routes": [
     {
       "next": "response.success"
     }
   ]
 }
}