Skip to content

2.2.0

Compare
Choose a tag to compare
@starsite starsite released this 26 Feb 03:07
· 30 commits to main since this release

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 unwrapping data or info.
  • You can now 'dot' directly into info, like this: print("fetched \(info.foundCount) records").