hi,
consider DB[:node].graph(:term_node, {:node__nid
=> :term_node__nid}, :join_type=>:inner)
At this point, I have a resultset that has a value :node__type that
actually tells me the *partial name* of the NEXT table that I need to
join.
Ideally, it would be something like this:
DB[:node].graph(:term_node, {:node__nid
=> :term_node__nid}, :join_type=>:inner)
.graph(["new_table_",:node__type].sql_string_join ,
{:node__nid => :nid.qualify
( ["new_table_",:node__type].sql_string_join.to_sym )}, :join_type=>:inner)
However, I'm clearly not getting this right.
Could someone help ?
--
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.