QueryClause

public struct QueryClause : InternetArchiveQueryClauseProtocol

A query clause for use in generating a Query.

This is comprised of a field, value, and booleanOperator. It will generate a search clause like collection:(etree).

field can be empty to search any field

Example Usage:

let clause1 = InternetArchive.QueryClause(field: "foo", value: "bar", booleanOperator: .and)
let clause2 = InternetArchive.QueryClause(field: "bar", value: "foo", booleanOperator: .not)