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.
Default Implementations
PostgresThrowingDynamicTypeEncodable Implementations
encode(into:context:)Encode the entity intobyteBufferin the format specified bypsqlFormat, using the providedcontextas needed, without setting the byte count.encode(into:context:)Encode the entity intobyteBufferin the format specified bypsqlFormat, using the providedcontextas needed, without setting the byte count.encode(into:context:)Encode the entity intobyteBufferin the format specified bypsqlFormat, using the providedcontextas needed, without setting the byte count.