QueryResult

public struct QueryResult : Codable, Equatable

Query result object.

  • id

    The unique identifier of the document.

    Declaration

    Swift

    public var id: String?
  • Metadata of the document.

    Declaration

    Swift

    public var metadata: [String : JSON]?
  • The collection ID of the collection containing the document for this result.

    Declaration

    Swift

    public var collectionID: String?
  • Metadata of a query result.

    Declaration

    Swift

    public var resultMetadata: QueryResultMetadata?
  • Additional properties associated with this model.

    Declaration

    Swift

    public var additionalProperties: [String : JSON]
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws