Change example getallfilms to stable instead of immutable

This commit is contained in:
Joonas
2023-06-21 09:51:41 -05:00
committed by Steve Chavez
parent ab986b77d8
commit 9780790cee
+1 -1
View File
@@ -742,7 +742,7 @@ Here's a sample function (notice the ``RETURNS SETOF films``).
CREATE FUNCTION getallfilms() RETURNS SETOF films AS $$
SELECT * FROM films;
$$ LANGUAGE SQL IMMUTABLE;
$$ LANGUAGE SQL STABLE;
A request with ``directors`` embedded: