Closed Sevyls closed 3 years ago
Is it possible to pluck a single Codable into a single Object, so that the result is not an array but your codable struct/class?
Try with
table.pluck() { row in let object: MyCodableObject = row.decode() // Where `MyCodableObject` conforms to Decodable }
I'm closing this issue for now, it it doesn't work, please reopen it.
Is it possible to pluck a single Codable into a single Object, so that the result is not an array but your codable struct/class?