getConnectionsByIds added