This is issue already asked on core loopback tree: https://github.com/strongloop/loopback/issues/2080 on loopback-connector-mysql tree: https://github.com/strongloop/loopback-connector-mysql/issues/150 and on loopback-connector-postgres https://github.com/strongloop/loopback-connector-postgresql/issues/184 I am in the same situation on Oracle database. So basically achieve following in model definition: "foreignKey":["id1","id2"]