MCPcopy Create free account
hub / github.com/prisma/prisma-examples / fetchUsers

Function fetchUsers

orm/solid-start/src/app.tsx:10–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8}
9
10const fetchUsers = async () => {
11 const res = await fetch('http://localhost:3000/api/users')
12 return res.json()
13}
14
15export default function App() {
16 const [users, { mutate, refetch }] =

Callers

nothing calls this directly

Calls 2

jsonMethod · 0.65
fetchFunction · 0.50

Tested by

no test coverage detected