by using hasManyToMany it cant be since Has-Many-to-Many will return model instances of the referenced model ( which is either co_invoices or co_products ) using inner join
you have to make your own query to get your ordernum
Yeah - you can't read it if you only have a many-to-many relationship. However, there's nothing saying you can't also make a hasMany relationship between co_invoices and co_invoices_x_products
Yeah - you can't read it if you only have a many-to-many relationship. However, there's nothing saying you can't also make a hasMany relationship between co_invoices and co_invoices_x_products