mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 16:46:00 +00:00
add sqlocal connection including example
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { SQLocal } from "sqlocal";
|
||||
|
||||
describe("base", () => {
|
||||
const { sql } = new SQLocal(":memory:");
|
||||
|
||||
it("works", async () => {
|
||||
expect(await sql`SELECT 1`).toEqual([{ "1": 1 }]);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user