On Tuesday, January 14, 2020 at 2:53:23 PM UTC-8, Shane Cavanaugh wrote: > > I have a model association through join table. When using > `association_join` with the association multiple times, Sequel will append > `_[integer]` to the join table; e.g. `joined_table...joined_table_0`. Is is > possible to alias each instance of the join table without explicitly > declaring each join? >
I'm not sure what you are asking for. Do you want to use an alias that you specify in each call to association_join (as opposed to having to Sequel generate one automatically)? If that isn't what you want, could you post a small self contained example and provide details about what behavior you want or SQL you want to generate. 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 view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/7e40ae2f-e82f-46c1-9d10-b21c04407a75%40googlegroups.com.
