MaintenanceType
public enum MaintenanceType : UInt8Maintenance 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 DeclarationSwift case compact = 0
- 
                  
                  Undocumented DeclarationSwift case reindex
- 
                  
                  Undocumented DeclarationSwift case integrityCheck
- 
                  
                  Undocumented DeclarationSwift case optimize
- 
                  
                  Undocumented DeclarationSwift case fullOptimize
 MaintenanceType Enumeration Reference
        MaintenanceType Enumeration Reference