IndexStrategy
public enum IndexStrategy : CustomStringConvertible
An enumeration that defines the strategies for querying data in the database.
fullScan: Represents a strategy where the entire dataset is scanned to find matching results.indexOnly: Represents a strategy where only the index is used to retrieve results, without scanning the full dataset.hybrid: Represents a strategy that combines both index usage and partial dataset scanning to optimize query performance.
-
Undocumented
Declaration
Swift
case fullScan -
Undocumented
Declaration
Swift
case indexOnly -
Undocumented
Declaration
Swift
case hybrid -
A textual representation of the query execution strategy.
Declaration
Swift
public var description: String { get }Return Value
A
Stringdescribing the query execution strategy:"Full Scan": Indicates that the query will perform a full scan of the data."Index Only": Indicates that the query will use only the index for execution."Hybrid": Indicates that the query will use a combination of index and data scanning.
View on GitHub