scheme for saving sensor data

This commit is contained in:
David Senoner 2025-06-11 20:33:05 +02:00
parent a44284b9b1
commit 5935064606
3 changed files with 23 additions and 1 deletions

View file

@ -2,6 +2,7 @@ import { db } from "$lib/server/db";
import * as table from "$lib/server/db/schema";
import { eq } from "drizzle-orm";
import type { PageServerLoad } from "./$types";
import { connect } from "mqtt";
export const load: PageServerLoad = async ({ params }) => {
{