Say I have this function definition (for Postgres):
CREATE OR REPLACE FUNCTION func() RETURNS setof int AS
$$
SELECT 1 FROM Foo;
SELECT 2 FROM Bar;
$$ language sql;
Does sqlparse offer me some way of either directly getting at the two statements inside the function body or, if that isn't possible, to get the contents of the dollar-quoted string so I can send it back to sqlparse.parse and get the two statements?