Class SyncUpdateOptions


  • public class SyncUpdateOptions
    extends RemoteUpdateOptions
    The options to apply when updating documents.
    • Constructor Detail

      • SyncUpdateOptions

        public SyncUpdateOptions()
    • Method Detail

      • upsert

        public SyncUpdateOptions upsert​(boolean upsert)
        Description copied from class: RemoteUpdateOptions
        Set to true if a new document should be inserted if there are no matches to the query filter.
        Overrides:
        upsert in class RemoteUpdateOptions
        Parameters:
        upsert - true if a new document should be inserted if there are no matches to the query filter.
        Returns:
        this