Is it possible to define an association (many_to_one in my case) that uses 
a custom join condition?  I have a table that has a relationship with 
another table based on one column OR another column, not primary keys.  
Generating such queries with non-ORM Sequel is easy enough, but so far I 
cannot figure out how to define an association like this.  I've tried 
defining the :dataset option and passing a block to the "many_to_one" 
method, but in both cases, Sequel tries to call a non-existent foreign key 
method. 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/df6ffd59-90ce-48e8-a4ab-c04b7b250561n%40googlegroups.com.

Reply via email to