Files
Homarr/packages/db/index.ts

13 lines
350 B
TypeScript
Raw Normal View History

import Database from "better-sqlite3";
2023-12-08 22:35:15 +01:00
import { database } from "./driver";
2023-12-08 22:35:15 +01:00
export * from "drizzle-orm";
export const db = database;
export type Database = typeof db;
export type { HomarrDatabaseMysql, HomarrDatabasePostgresql } from "./driver";
export { handleDiffrentDbDriverOperationsAsync as handleTransactionsAsync } from "./transactions";