Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lmd59 committed Aug 30, 2024
1 parent 6a756de commit f085a5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/src/db/dbOperations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export async function findResourceById<T extends fhir4.FhirResource>(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<T extends fhir4.FhirResource[]>(
query: Filter<any>,
Expand Down Expand Up @@ -43,7 +43,7 @@ export async function findResourcesWithQuery<T extends fhir4.FhirResource[]>(
}

/**
* 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<T extends fhir4.FhirResource[]>(
Expand Down

0 comments on commit f085a5a

Please sign in to comment.