mirror of https://gitee.com/bigwinds/arangodb
Softened warning about app.delete in docs.
This commit is contained in:
parent
d9c9285cc5
commit
14ce86748b
|
@ -81,11 +81,9 @@ This handles requests from the HTTP verb patch. See above for the arguments you
|
|||
|
||||
This handles requests from the HTTP verb delete. See above for the arguments you can give.
|
||||
|
||||
**Warning**
|
||||
|
||||
Do not forget that delete is a reserved word in JavaScript and therefore needs to be called as app['delete']. There is also an alias del for this very reason.
|
||||
|
||||
**Note**
|
||||
|
||||
If you are uncomfortable with using JavaScript keywords as property names, you can use the alias *del* instead.
|
||||
|
||||
<!--
|
||||
|
||||
|
|
Loading…
Reference in New Issue