Add notes

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-05-25 21:52:23 +01:00
parent b590eb6cf5
commit e76731f18a
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ async function findPisByCode(code) {
async function findRandom() { async function findRandom() {
log.out('pisServices.findRandom: Finding five random PIS Codes', 'dbug'); log.out('pisServices.findRandom: Finding five random PIS Codes', 'dbug');
const query = { const query = { // Doesn't work, need aggregation
$sample: { $sample: {
size: 5 size: 5
} }