Hi When using prepared statements with PostgreSQL, I don't like having to specify all bound variables of a table manually.
Why doesn't it just use all colums of this table to create the prepared statement? It could simply use the column names as the bound variable names. And why this strange :$name syntax described on [1]? I'm totally confused by this manual page because sometimes it uses :n, other times :$name and other times :name. Which one was the bound variable again? Which one is the name used later in the Ruby code? And as for the type specifiers: Sequel already knows about the column types. It can retrieve them from the database as it does like in a Model. Thanks in advance for your help. [1] http://sequel.rubyforge.org/rdoc/files/doc/prepared_statements_rdoc.html -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
