I'm using GRDB in Swift 4 to access two columns ('col1', 'col2') of values of type Double.
For example:
let value = Double.fetchAll(db,"SELECT col1, col2 FROM table1")
This should return a table with two columns of double values. I am wondering if there is a way to extract the results by column without iterating over it row by row? Using the above I can get an array of col1 but not both.