You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<sup><ahref='https://github.com/JasperFx/marten/blob/master/src/DocumentDbTests/Writing/bulk_loading.cs#L92-L102'title='Snippet source file'>snippet source</a> | <ahref='#snippet-sample_using_bulk_insert'title='Start of snippet'>anchor</a></sup>
104
+
<sup><ahref='https://github.com/JasperFx/marten/blob/master/src/DocumentDbTests/Writing/bulk_loading.cs#L94-L104'title='Snippet source file'>snippet source</a> | <ahref='#snippet-sample_using_bulk_insert'title='Start of snippet'>anchor</a></sup>
105
105
<!-- endSnippet -->
106
106
107
107
The bulk insert is done with a single transaction. For really large document collections, you may need to page the calls to `IDocumentStore.BulkInsert()`.
<sup><ahref='https://github.com/JasperFx/marten/blob/master/src/DocumentDbTests/Writing/bulk_loading.cs#L250-L260'title='Snippet source file'>snippet source</a> | <ahref='#snippet-sample_using_bulk_insert_async'title='Start of snippet'>anchor</a></sup>
129
+
<sup><ahref='https://github.com/JasperFx/marten/blob/master/src/DocumentDbTests/Writing/bulk_loading.cs#L252-L262'title='Snippet source file'>snippet source</a> | <ahref='#snippet-sample_using_bulk_insert_async'title='Start of snippet'>anchor</a></sup>
130
130
<!-- endSnippet -->
131
131
132
132
By default, bulk insert will fail if there are any duplicate id's between the documents being inserted and the existing database data. You can alter this behavior through the `BulkInsertMode` enumeration as shown below:
0 commit comments