Querying Blob attachments

In CouchbaseLite-Swift, how can a newer bob-style attachment be queried with QueryBuilder?

With the older-style attachments, I could include SelectResult.property("_attachments") in the QueryBuilder select statement, then access the results with result.dictionary(forKey: “attachments”)?.blob(forKey: “myfile”). The newer-style attachments don’t show up here, though.

Blobs are actually stored as nested dictionaries. In addition to a property "@type":"blob" they have the same properties as the old-style attachments. So you can access those properties in a query.