Hi there I have a table called Servers (PK ServerID) and a table called ServerTypes (PK ServerTypeID) which have a many-to-many relationship through the linking ServerTypeMappings table.
The linking ServerTypeMappings table has two columns, ServerID and ServerTypeID. I'm trying to setup a model to reflect this, e.g class Server < Sequel::Model(:servers) many_to_many :servertypes end class ServerType < Sequel::Model(:servertypes) many_to_many :servers end But I'm pretty sure this is not going to work. Is there any way to specify the linking table, etc.? Thanks in advance, Ciaran -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/sequel-talk/-/EJbPF-dKx3sJ. 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.
