Working example
This commit is contained in:
parent
5c04a0f1ee
commit
b4444e7bd2
14 changed files with 935 additions and 22 deletions
6
src/routes/db.remote.js
Normal file
6
src/routes/db.remote.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { query } from '$app/server';
|
||||
import { db } from '$lib/db';
|
||||
|
||||
export const testConnection = query(async () => {
|
||||
return db.testConnection();
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue