From f085a5ab1b406848067bc24be1cdc0db36b5eae8 Mon Sep 17 00:00:00 2001 From: LaurenD Date: Fri, 30 Aug 2024 11:06:38 -0400 Subject: [PATCH] Update comment --- service/src/db/dbOperations.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/src/db/dbOperations.ts b/service/src/db/dbOperations.ts index 0b08ca7..dfc24bd 100644 --- a/service/src/db/dbOperations.ts +++ b/service/src/db/dbOperations.ts @@ -13,7 +13,7 @@ export async function findResourceById(id: string, } /** - * searches the database and returns an array of objects that contain metadata and each respective resource of the given type that match the given query + * searches the database and returns an array whose object contains metadata and data: an array of resources of the given type that match the given query */ export async function findResourcesWithQuery( query: Filter, @@ -43,7 +43,7 @@ export async function findResourcesWithQuery( } /** - * searches the database and returns an array objects that contain metadata and each respective resource of the given type that match the given query + * searches the database and returns an array whose object contains metadata and data: an array of resources of the given type that match the given query * but the resources only include the elements specified by the _elements parameter */ export async function findResourceElementsWithQuery(