CBLMaintenanceType

enum CBLMaintenanceType {}

Maintenance Type used when performing database maintenance .

  • < Compact the database file and delete unused attachments.

    Declaration

    Objective-C

    kCBLMaintenanceTypeCompact
  • < (Volatile API) Rebuild the entire database’s indexes.

    Declaration

    Objective-C

    kCBLMaintenanceTypeReindex
  • < (Volatile API) Check for the database’s corruption. If found, an error will be returned.

    Declaration

    Objective-C

    kCBLMaintenanceTypeIntegrityCheck