EN
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.
Questo argomento non è stato ancora valutato - Valuta questo argomento

insert function

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The feature described in this topic is available only in preview. To use this feature and other new Windows Azure capabilities, sign up for the free preview.


Invoked when an item is insert into a table.

function insert(item, user, request) { }
item
Type: object

The rowset to be inserted into the table.

user
Type: object

The User object that represents an authenticated user when authentication is required, otherwise undefined.

request
Type: object

The Request object that represents the request for the operation.

Type: undefined

When the insert operation succeeds, a response with 201 HTTP status code is returned with the state of the inserted item in the body. This item includes the ID of the item generated during the insert operation.

You can control data that is inserted by modifying the state of the item object before the execute method is called.

You can override the default success and error behaviors. For more information, see Mobile Services server script reference

Il documento è risultato utile?
(1500 caratteri rimanenti)
Microsoft sta conducendo un sondaggio in linea per comprendere l'opinione degli utenti in merito al sito Web di MSDN. Se si sceglie di partecipare, quando si lascia il sito Web di MSDN verrà visualizzato il sondaggio in linea.

Si desidera partecipare?
© 2013 Microsoft. Tutti i diritti riservati.
facebook page visit twitter rss feed newsletter