toggle_foreign_key_constraints(_toggle boolean DEFAULT true)


Description

Deactivate or reactivate the foreign key constraints to ease the merging road_graph_editing data into road_graph schema. It is also used when importing data from templates.

Under the hood, it drops or drops & creates the constraint depending on the value of the _toggle parameter

Parameters

Name Type Mode
_toggle boolean IN

Definition