SearchRelation

public class SearchRelation : MemoryTableRelation

A Relation which holds search results from an index. The scheme is a single attribute: the contentIDAttribute which was passed in to the index. The Relation’s contents update asynchronously when the search query is changed.

  • Undocumented

    Declaration

    Swift

    public var query: String { get set }