Postgres module

check_json_columns

procedure · 1 overloadsince 0.27.0Source

Stops the compile when a Json_Columns entry names something that is not a json or jsonb column. known is every json column of the schema, as the generated file lists them.

check_json_columns :: (
    mappings: [] Json_Column,
    known: [] string,
    location := #caller_location
)

Stops the compile when a Json_Columns entry names something that is not a json or jsonb column. known is every json column of the schema, as the generated file lists them.

Parameters

mappings: [] Json_Column
the Json_Columns list.
known: [] string
"table.column" of every json or jsonb column in the schema.
location := #caller_location
where the call is written, used to point a problem at it. Leave the default.

See also