Skip to content

Commit

Permalink
🐝 fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann authored and danyx23 committed Jan 26, 2024
1 parent 0051d91 commit d4da1d0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions db/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ import {
GRAPHER_DB_PORT,
} from "../settings/serverSettings.js"
import { registerExitHandler } from "./cleanup.js"
import {
PostsGdocsXImagesRow,
PostsGdocsXImagesRowTableName,
} from "./sql-ts/Database.js"
let typeormDataSource: DataSource

export const getConnection = async (
Expand Down Expand Up @@ -109,10 +105,6 @@ export const knexInstance = (): Knex<any, any[]> => {
return _knexInstance
}

// export const bla = knexInstance()
// .from<PostsGdocsXImagesRow>(PostsGdocsXImagesRowTableName)
// .select("gdocId")

export const knexTable = (table: string): Knex.QueryBuilder =>
knexInstance().table(table)

Expand Down

0 comments on commit d4da1d0

Please sign in to comment.