-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Can someone help with this? I have tried everything I can think of, but how do you assign specific rows of data and their column's values into variables in Swift that can actually be used?
the simplest example I have is
let res = try con.query("SELECT * FROM prate")
let rows = try res.readAllRows()
print(rows)
ive done this and other ways to query and they all just give back the whole record.
how do i assign it to be something like the following?
let res = try con.query("SELECT * FROM prate")
var column1 = res.column(column1.string)
var column2 = res.column(column2.value)
thanks. i am totally stuck on this
Metadata
Metadata
Assignees
Labels
No labels