Static Methodgrdb 7.2.0GRDB

line(nullValue:)

A format that prints one line per database value. All blob values are interpreted as strings.

LineDumpFormat.swift:132
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())