One of the things I've been thinking about for a while is whether #call 
should be added to Sequel::SQL::Identifier as an alias to #function.

Before Sequel 5, we used to support the following syntax for creating SQL 
functions with no arguments:

  Sequel.expr{function_name{}}

This was moved to the virtual_row_method_block extension in Sequel 5, with 
the recommendation that the above be switched to:

  Sequel.expr{function_name.function}

If #call was supported, you would be able to do:

  Sequel.expr{function_name.()}

or:

  Sequel[:function_name].()

I'm interested in feedback from Sequel users as to whether they would like 
to see such support added to SQL::Identifier and SQL::QualifiedIdentifier.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to