Working example

This commit is contained in:
Håkon Størdal 2025-09-02 22:51:17 +02:00
parent 5c04a0f1ee
commit b4444e7bd2
14 changed files with 935 additions and 22 deletions

6
src/routes/db.remote.js Normal file
View file

@ -0,0 +1,6 @@
import { query } from '$app/server';
import { db } from '$lib/db';
export const testConnection = query(async () => {
return db.testConnection();
});