From eca325c11b7fbe9f638b2340cb7a0c243d909e79 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Fri, 16 Aug 2019 14:36:59 -0500 Subject: [PATCH] Add materialized views mention --- api.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api.rst b/api.rst index ca8212c3e..c5904779e 100644 --- a/api.rst +++ b/api.rst @@ -565,8 +565,8 @@ this: Whenever FOREIGN KEY constraints change in the database schema you must refresh PostgREST's schema cache for Resource Embedding to work properly. See the section :ref:`schema_reloading`. -Embeddeding through join tables -------------------------------- +Embedding through join tables +----------------------------- PostgREST can also detect relationships going through join tables. Thus you can request the Actors for Films (which in this case finds the information through Roles). You can also reverse the direction of inclusion, asking for all Directors with each including the list of their Films: @@ -634,6 +634,7 @@ Since it contains ``competition_id`` and ``film_id``—and each one has a **fore GET /nominations_view?select=rank,competitions(name,year),films(title)&rank=eq.5 HTTP/1.1 +It's also possible to embed `Materialized Views `_. .. warning::