Instance Propertygrdb 7.2.0GRDB
description
DatabaseRegion.swift:298var description: String { get }
var description: String { get }
import GRDB
A toolkit for SQLite databases, with a focus on application development
struct DatabaseRegion
An observable region of the database.
@frozen struct String
A Unicode string value that is a collection of characters.
init()
The empty database region.
static let fullDatabase: DatabaseRegion
The region that covers the full database.
var isEmpty: Bool { get }
Returns whether the region is empty.
var isFullDatabase: Bool { get }
Returns whether the region covers the full database.
static func == (lhs: DatabaseRegion, rhs: DatabaseRegion) -> Bool
func databaseRegion(_ db: Database) throws -> DatabaseRegion
mutating func formUnion(_ other: DatabaseRegion)
Inserts the given region into this region
func isModified(by event: DatabaseEvent) -> Bool
Returns whether the content in the region is impacted by this event.
func isModified(byEventsOfKind eventKind: DatabaseEventKind) -> Bool
Returns whether the content in the region would be impacted if the database were modified by an event of this kind.
func union(_ other: DatabaseRegion) -> DatabaseRegion
Returns the union of this region and the given one.