MaintenanceType

public enum MaintenanceType : UInt8

Maintenance Type used when performing database maintenance

  • compact: Compact the database file and delete unused attachments.
  • reindex: (Volatile API) Rebuild the entire database’s indexes.
  • integrityCheck: (Volatile API) Check for the database’s corruption. If found, an error will be returned.
  • Undocumented

    Declaration

    Swift

    case compact = 0
  • Undocumented

    Declaration

    Swift

    case reindex
  • Undocumented

    Declaration

    Swift

    case integrityCheck