Spaces:
Running
Running
browser-sqlite-playground / source /teaql-ts /examples /school-management /src /teaql-node-sqlite.ts
Download source/teaql-ts/examples/school-management/src/teaql-node-sqlite.ts from teaql/browser-sqlite-playground: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/teaql/browser-sqlite-playground/resolve/main/source/teaql-ts/examples/school-management/src/teaql-node-sqlite.ts
- Command line
-
hf download hf://spaces/teaql/browser-sqlite-playground/source/teaql-ts/examples/school-management/src/teaql-node-sqlite.ts
-
curl -L -o teaql-node-sqlite.ts https://huggingface.co/spaces/teaql/browser-sqlite-playground/resolve/main/source/teaql-ts/examples/school-management/src/teaql-node-sqlite.ts
408 Bytes
| import { | |
| SQLiteDriver, | |
| SQLiteTeaQLClient as RuntimeSQLiteTeaQLClient | |
| } from "teaql-ts/sql/sqlite"; | |
| import { GENERATED_RUNTIME_MODULE } from "./runtime-module"; | |
| export { SQLiteDriver } from "teaql-ts/sql/sqlite"; | |
| export class SQLiteTeaQLClient extends RuntimeSQLiteTeaQLClient { | |
| constructor(filename: string) { | |
| super(filename, {}); | |
| this.install(GENERATED_RUNTIME_MODULE); | |
| } | |
| } |