MCPcopy Create free account
hub / github.com/Automattic/mongoose / getPopulatedLocationIds

Function getPopulatedLocationIds

test/types.documentarray.test.js:1292–1294  ·  view source on GitHub ↗
(trip)

Source from the content-addressed store, hash-verified

1290 }
1291
1292 function getPopulatedLocationIds(trip) {
1293 return trip.populated('stops.location').map(id => id.toString());
1294 }
1295 });
1296
1297 it('clones subdoc when same subdoc reference appears multiple times in array (gh-15973)', async function() {

Callers 1

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected