Add notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
b590eb6cf5
commit
e76731f18a
@ -39,7 +39,7 @@ async function findPisByCode(code) {
|
||||
|
||||
async function findRandom() {
|
||||
log.out('pisServices.findRandom: Finding five random PIS Codes', 'dbug');
|
||||
const query = {
|
||||
const query = { // Doesn't work, need aggregation
|
||||
$sample: {
|
||||
size: 5
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user