line(nullValue:)
A format that prints one line per database value. All blob values are interpreted as strings.
static func line(nullValue: String = "") -> Self
Parameters
- nullValue
The string to print for NULL values.
On each line, database values are separated by a separator (|
by default). Blob values are interpreted as UTF8 strings.
For example:
// name = Arthur
// score = 500
//
// name = Barbara
// score = 1000
try db.dumpRequest(Player.all(), format: .line())