Handle NAME Type in PropertyData.string Property
Pre-release
Pre-release
Allows data that is contained as the .name
type to be accessed through the PostgresData.string
property.
var buffer = ByteBufferAllocator().buffer(capacity: 13)
buffer.writeString("password_hash")
let data = PostgresData(.name, value: buffer)
let string = data.string
// string == "password_hash"