async function seedExampleTemplateCollection(
    ExampleTemplateCollection,
    translationObject
) {
    // Look for an existing document
    const existing = await ExampleTemplateCollection.findOne({
        i18n: translationObject.i18n,
    });

    // If the document does not exist. We insert a new language doc
    if (!existing) {
        Logger.debug(
            `Adding the ${translationObject.language} language to the ExampleTemplateCollection`
        );
        await ExampleTemplateCollection.insertOne({
            ...translationObject,
            _id: Random.id(),
        });
    }
}
/**
 * @param {Object} ExampleTemplateCollection Collection that will be seeded into
 * @param {String} translationObject Object that contains our translation
 * @returns {undefined}
 */
@param {Object} ExampleTemplateCollection Collection that will be seeded into
@param {String} translationObject Object that contains our translation
@returns {undefined}
@param { Object } ExampleTemplateCollection Collection that will be seeded into @param { String } translationObject Object that contains our translation @returns { undefined }
async function seedExampleTemplateCollection(
    ExampleTemplateCollection,
    translationObject
) {
    const existing = await ExampleTemplateCollection.findOne({
        i18n: translationObject.i18n,
    });
    if (!existing) {
        Logger.debug(
            `Adding the ${translationObject.language} language to the ExampleTemplateCollection`
        );
        await ExampleTemplateCollection.insertOne({
            ...translationObject,
            _id: Random.id(),
        });
    }
}
async function seedExampleTemplateCollection ( ExampleTemplateCollection , translationObject ) { const existing = await ExampleTemplateCollection . findOne ( { i18n : translationObject . i18n , } ) ; if ( ! existing ) { Logger . debug ( ` ${ translationObject . language } ` ) ; await ExampleTemplateCollection . insertOne ( { ... translationObject , _id : Random . id ( ) , } ) ; } }
@param {Object} ExampleTemplateCollection Collection that will be seeded into
 @param {String} translationObject Object that contains our translation
 @returns {undefined}
@param { Object } ExampleTemplateCollection Collection that will be seeded into @param { String } translationObject Object that contains our translation @returns { undefined }
// Look for an existing document // If the document does not exist. We insert a new language doc