Postgrex v0.11.1 Postgrex.Extensions.JSON

An extension that supports the json and jsonb types.

This extension is not used by default, it needs to be included in the :extensions option to Postgrex.start_link/1.

Summary

Functions

decode(type_info, json, state, library)

Callback implementation for Postgrex.Extension.decode/4.

encode(type_info, map, state, library)

Callback implementation for Postgrex.Extension.encode/4.

format(library)

Callback implementation for Postgrex.Extension.format/1.

init(parameters, opts)

Callback implementation for Postgrex.Extension.init/2.

matching(library)

Callback implementation for Postgrex.Extension.matching/1.