def func(name, *args)
      Nodes.wrap Arel::Nodes::NamedFunction.new(name.to_s, args)
    end
def func(name, *args)
      Nodes.wrap Arel::Nodes::NamedFunction.new(name.to_s, args)
    end
Create a SQL function. See Arel::Nodes::NamedFunction.

 ==== Arguments

 * +name+ - The name of a SQL function (ex. coalesce).
 * +args+ - The arguments to be passed to the SQL function.

 ==== Example
     Post.selecting { func('coalesce', id, 1) }
     #=> SELECT COALESCE("posts"."id", 1) FROM "posts"