mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 23:24:03 +00:00
add entity-repository cloneRelations method
This commit is contained in:
parent
d1dda661d2
commit
49cc9cfb89
@ -111,6 +111,10 @@ const createRepository = (uid, db) => {
|
||||
return db.entityManager.deleteRelations(uid, id);
|
||||
},
|
||||
|
||||
cloneRelations(id, cloneId, params) {
|
||||
return db.entityManager.cloneRelations(uid, id, cloneId, params);
|
||||
},
|
||||
|
||||
populate(entity, populate) {
|
||||
return db.entityManager.populate(uid, entity, populate);
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user