Skip to content

Implement server functions to load and pull queries #66

@sparklingwter

Description

@sparklingwter

Description:
Write queries to retrieve necessary data to display in the web

Sample function from Taz:
getResults(patientID) {
prisma.findmany()
}

prisma.treatmentResult.findmany({ #fetch all the data for a patient in a query
where: {
patient_id
},
include: {
id: time,
date: time
}
})

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions