Postgres module

entry_from_json

procedure · 1 overloadsince 0.27.0Source

Reads an entry back from its JSON. False when the document is not shaped like one.

entry_from_json :: (document: *Json_Value) -> (Query_Entry, bool)

Reads an entry back from its JSON. False when the document is not shaped like one.

Parameters

document: *Json_Value
the parsed JSON of a cache entry.

Returns

bool

See also