Skip to content

Instance Method

encode(into:context:)

Encode the entity into byteBuffer in the format specified by psqlFormat, using the provided context as needed, without setting the byte count.
func encode<JSONEncoder>(into byteBuffer: inout ByteBuffer, context: PostgresEncodingContext<JSONEncoder>) throws where JSONEncoder : PostgresJSONEncoder

Discussion

This method is called by PostgresBindings.