]> begriffs open source - ai-pg/blob - full-docs/txt/plpython-do.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / plpython-do.txt
1
2 44.4. Anonymous Code Blocks #
3
4    PL/Python also supports anonymous code blocks called with the DO
5    statement:
6 DO $$
7     # PL/Python code
8 $$ LANGUAGE plpython3u;
9
10    An anonymous code block receives no arguments, and whatever value it
11    might return is discarded. Otherwise it behaves just like a function.