13 lines
350 B
TypeScript
13 lines
350 B
TypeScript
import Database from "better-sqlite3";
|
|
|
|
import { database } from "./driver";
|
|
|
|
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";
|