Instance Propertygrdb 7.1.0GRDB
isEmpty
Returns whether the region is empty.
var isEmpty: Bool { get }
Returns whether the region is empty.
var isEmpty: Bool { get }
import GRDB
A toolkit for SQLite databases, with a focus on application development
struct DatabaseRegion
An observable region of the database.
@frozen struct Bool
A value type whose instances are either true
or false
.
var isFullDatabase: Bool { get }
Returns whether the region covers the full database.
init()
The empty database region.
static let fullDatabase: DatabaseRegion
The region that covers the full database.
var description: String { get }
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.