pirogue.SimpleJoins

class pirogue.SimpleJoins(definition: dict, pg_service: str | None = None)[source]

Creates a view made of simple joins, without any edit triggers.

__init__(definition: dict, pg_service: str | None = None)[source]

Produces the SQL code of the join table and triggers

Parameters:
  • definition – the YAML definition of the multiple inheritance

  • pg_service – if not given, it is determined using environment variable PGSERVICE

Methods

__init__(definition[, pg_service])

Produces the SQL code of the join table and triggers

create()

Creates the merge view on the specified service Returns True in case of success