NAME
Pg::SQL::PrettyPrinter::Node::FuncCall - Class representing single constant value
SYNOPSIS
Not to be used directly.
FUNCTIONS
Aside from functions listed below, it inherits functions from Pg::SQL::PrettyPrinter::Node.
new
Makes object, first using parent's constructur, and then "unpacks" it's name and args keys.
func_name
Full, quoted, function name.
over_clause_as_text
In case of window function, returns whole OVER ()
clause as plain text.
If it's called for non-window function, returns empty string.
over_clause_pretty
In case of window function, returns whole OVER ()
clause as pretty printed text.
If it's called for non-window function, returns empty string.
frame_clause
In case of window functions with custom frame defitnion returns the frame definition as plain text. Otherwise returns undef.
get_agg_order
Returns empty string, if there is no aggregate order, or aggregate order as text.
This is used for queries like:
select string_agg(a, ',' order by a)
as_text
Returns this object as plain text, with next to none formatting.
pretty_print
Returns this object as text using pretty printing.
AUTHOR
hubert depesz lubaczewski, <depesz at depesz.com>
BUGS
Please report any bugs or feature requests to depesz at depesz.com
.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Pg::SQL::PrettyPrinter::Node::FuncCall