Fetching data directly from prisma

Hi! I am learning about Prisma, and I see that its possible to fetch data from Prisma directly in any page.

Is this safe, or should this be avoided? Or should I just fetch the data from my an endpoint accessing Prisma?
Was this page helpful?