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.
 - optimize: Quickly updates database statistics that may help optimize queries that have been run by this Database since it was opened
 - fullOptimize: Fully scans all indexes to gather database statistics that help optimize queries.
 
- 
                  
                  
Undocumented
Declaration
Swift
case compact = 0 - 
                  
                  
Undocumented
Declaration
Swift
case reindex - 
                  
                  
Undocumented
Declaration
Swift
case integrityCheck - 
                  
                  
Undocumented
Declaration
Swift
case optimize - 
                  
                  
Undocumented
Declaration
Swift
case fullOptimize 
        MaintenanceType Enumeration Reference