Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/main/sphinx/functions/table.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ There are two conventions of passing arguments to a table function:

- **Arguments passed by name**::

SELECT * FROM TABLE(my_function("row_count" => 100, "column_count" => 1))
SELECT * FROM TABLE(my_function(row_count => 100, column_count => 1))

In this convention, you can pass the arguments in arbitrary order. Arguments
declared with default values can be skipped. Argument names are resolved
Expand All @@ -75,6 +75,6 @@ which is compatible with the declared argument type. You can also use
parameters in arguments::

PREPARE stmt FROM
SELECT * FROM TABLE(my_function("row_count" => ? + 1, "column_count" => ?));
SELECT * FROM TABLE(my_function(row_count => ? + 1, column_count => ?));

EXECUTE stmt USING 100, 1;