CBLMaintenanceType

enum CBLMaintenanceType : uint32_t {}

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
  • < Quickly updates database statistics that may help optimize queries that have been run by this Database since it was opened

    Declaration

    Objective-C

    kCBLMaintenanceTypeOptimize
  • < Fully scans all indexes to gather database statistics that help optimize queries.

    Declaration

    Objective-C

    kCBLMaintenanceTypeFullOptimize