2.2.0
Query(), GetRecord(), and GetRecords() previously returned (Data?, Data?). Returning a tuple of optionals meant an extra step before unwrapping either result. Not ideal. All record fetching methods now throw and return (Data, DataInfo). This means:
- You no longer need an extra
let (data, info) =call prior to unwrappingdataorinfo. - You can now 'dot' directly into
info, like this:print("fetched \(info.foundCount) records").