PersistentTimelineStore

open class PersistentTimelineStore: TimelineStore

Undocumented

  • Undocumented

    Declaration

    Swift

    open var saveBatchSize = 50
  • Undocumented

    Declaration

    Swift

    open let keepDeletedItemsFor: TimeInterval = 60 * 60
  • Undocumented

    Declaration

    Swift

    public var sqlDebugLogging = false
  • Undocumented

    Declaration

    Swift

    public var itemsToSave: Set<TimelineItem> = []
  • Undocumented

    Declaration

    Swift

    public var samplesToSave: Set<PersistentSample> = []
  • Undocumented

    Declaration

    Swift

    open lazy var dbUrl: URL =
  • Undocumented

    Declaration

    Swift

    public lazy var poolConfig: Configuration =
  • Undocumented

    Declaration

    Swift

    public lazy var pool: DatabasePool =
  • Undocumented

    Declaration

    Swift

    public override init()
  • Undocumented

    Declaration

    Swift

    public func countItems(where query: String, arguments: StatementArguments? = nil) -> Int
  • Undocumented

    Declaration

    Swift

    public func countSamples(where query: String, arguments: StatementArguments? = nil) -> Int
  • Undocumented

    Declaration

    Swift

    public var migrator = DatabaseMigrator()
  • Undocumented

    Declaration

    Swift

    open func migrateDatabase()
  • Undocumented

    Declaration

    Swift

    open var dateFields: [String]
  • Undocumented

    Declaration

    Swift

    open var boolFields: [String]