I've been trying to work out what the best way is to use table valued functions in Sequel - can anyone help? I can do something like this, which allows basic querying:
@tvf_dataset = DB["SELECT * FROM someTableValueFunction(?, ?)", arg1_value, arg2_value] This works if I just want the whole dataset, but I can't then build up a where clause on top of it e.g. @tvf_dataset.where(:some_column => some_value) Is there a better way of interacting with table valued functions? Phil Stewart -- 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.
