* feat: optimize collection list relationship queries (#749)

* feat: optimize collection list relationship queries
This commit is contained in:
Dan Ribbens
2022-07-14 16:51:41 -04:00
committed by GitHub
parent 057846e250
commit 31bc4c6532
11 changed files with 275 additions and 61 deletions

View File

@@ -1,12 +1,13 @@
/* eslint-disable no-console */
import express from 'express';
import { v4 as uuid } from 'uuid';
import payload from '../../src';
const expressApp = express();
const init = async () => {
await payload.init({
secret: 'SECRET_KEY',
secret: uuid(),
mongoURL: process.env.MONGO_URL || 'mongodb://localhost/payload',
express: expressApp,
email: {