Skip to content

Instantly share code, notes, and snippets.

@gbellmann
Created March 30, 2015 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gbellmann/bcdccb295497ec99682a to your computer and use it in GitHub Desktop.
Save gbellmann/bcdccb295497ec99682a to your computer and use it in GitHub Desktop.
{
"name": "miorigendedatosdocumentdb",
"type": "documentdb",
"credentials": {
"connectionString": "AccountEndpoint=https://miServicioDocumentDb.documents.azure.com;AccountKey=miKeyDeAutorizacionDocDb;Database=idDeMiBaseDeDatosDocDb"
},
"container": {
"name": "idDeLaColeccionDocDb",
"query": "SELECT p.id, p.Titulo, p.Director, p.Genero, p._ts FROM Peliculas p WHERE p._ts > @HighWaterMark"
},
"dataChangeDetectionPolicy": {
"@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy",
"highWaterMarkColumnName": "_ts"
},
"dataDeletionDetectionPolicy": {
"@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy",
"softDeleteColumnName": "borrado",
"softDeleteMarkerValue": "true"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment