Initializergrdb 7.4.0GRDB
init(header:separator:nullValue:)
Creates a ListDumpFormat
.
init(header: Bool = false, separator: String = "|", nullValue: String = "")
Creates a ListDumpFormat
.
init(header: Bool = false, separator: String = "|", nullValue: String = "")
s4GRDB14ListDumpFormatV6header9separator9nullValueACSb_S2Stcfc
What are these?3VZ1T
import GRDB
A toolkit for SQLite databases, with a focus on application development
struct ListDumpFormat
A format that prints one line per database row. All blob values are interpreted as strings.
@frozen struct Bool
A value type whose instances are either true
or false
.
@frozen struct String
A Unicode string value that is a collection of characters.
var header: Bool
A boolean value indicating if column labels are printed as the first line of output.
var nullValue: String
The string to print for NULL values.
var separator: String
The separator between values.
mutating func finalize(_ db: Database, statement: Statement, to stream: inout DumpStream)
mutating func writeRow(_ db: Database, statement: Statement, to stream: inout DumpStream)