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.Connection.start_link/1.

Source

Summary

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

Functions

decode(type_info, json, state, library)

Callback implementation for Postgrex.Extension.decode/4.

Source
encode(type_info, map, state, library)

Callback implementation for Postgrex.Extension.encode/4.

Source
format(library)

Callback implementation for Postgrex.Extension.format/1.

Source
init(parameters, opts)

Callback implementation for Postgrex.Extension.init/2.

Source
matching(library)

Callback implementation for Postgrex.Extension.matching/1.

Source