-
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
open override func add(_ timelineItem: TimelineItem)
-
Undocumented
Declaration
Swift
open override func release(_ objects: [TimelineObject])
-
Undocumented
Declaration
Swift
open override func createVisit(from sample: LocomotionSample) -> PersistentVisit
-
Undocumented
Declaration
Swift
open override func createPath(from sample: LocomotionSample) -> PersistentPath
-
Undocumented
Declaration
Swift
open override func createSample(from sample: ActivityBrainSample) -> PersistentSample
-
Undocumented
Declaration
Swift
public func object(for row: Row) -> TimelineObject
-
Undocumented
Declaration
Swift
open func item(for row: Row) -> TimelineItem
-
Undocumented
Declaration
Swift
open func sample(for row: Row) -> PersistentSample
-
Undocumented
Declaration
Swift
open override func item(for itemId: UUID) -> TimelineItem?
-
Undocumented
Declaration
Swift
public func item(where query: String, arguments: StatementArguments? = nil) -> TimelineItem?
-
Undocumented
Declaration
Swift
public func items(where query: String, arguments: StatementArguments? = nil) -> [TimelineItem]
-
Undocumented
Declaration
Swift
public func item(for query: String, arguments: StatementArguments? = nil) -> TimelineItem?
-
Undocumented
Declaration
Swift
public func items(for query: String, arguments: StatementArguments? = nil) -> [TimelineItem]
-
Undocumented
Declaration
Swift
open override func sample(for sampleId: UUID) -> PersistentSample?
-
Undocumented
Declaration
Swift
public func samples(where query: String, arguments: StatementArguments? = nil) -> [PersistentSample]
-
Undocumented
Declaration
Swift
public func sample(for query: String, arguments: StatementArguments? = nil) -> PersistentSample?
-
Undocumented
Declaration
Swift
public func samples(for query: String, arguments: StatementArguments? = nil) -> [PersistentSample]
-
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 func save(_ object: PersistentObject, immediate: Bool = false)
-
Undocumented
Declaration
Swift
open override func save(immediate: Bool = true)
-
Undocumented
Declaration
Swift
open func hardDeleteSoftDeletedItems()
-
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]