Table inheritance
Created by: dmfay
Basic:
-
centralize SELECT query generation -
include (by default) or exclude (by setting query.only
) descendant table rows from SELECT queries -
exclude descendant table rows from UPDATE and DELETE statements for consistency's sake as descendant tables cannot currently be inserted into
Future:
-
load descendant tables onto the db object via pg_catalog.pg_inherits
for insertion and direct querying/full results instead of just the parent fields -
allow UPDATE/DELETE to affect inheritance hierarchy again -
work out a way to toggle ONLY for writes as well?