ListDatabasesOptions

public struct ListDatabasesOptions : Encodable

Options to use when listing available databases.

  • An optional filter for the returned databases.

    Declaration

    Swift

    public var filter: Document?
  • Optionally indicate whether only names should be returned.

    Declaration

    Swift

    public var nameOnly: Bool?
  • Convenience constructor for basic construction

    Declaration

    Swift

    public init(filter: Document? = nil, nameOnly: Bool? = nil)