Skip to content
Discussion options

You must be logged in to vote

@BorislavZlatanov Change the return type from RETURNS TABLE (post_title TEXT) to RETURNS SETOF polls and then the request should work. For this you'll also need to change to SELECT * inside the function.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@steve-chavez
Comment options

@BorislavZlatanov
Comment options

@steve-chavez
Comment options

@BorislavZlatanov
Comment options

@wolfgangwalther
Comment options

Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants