mirror of
https://github.com/beekeeper-studio/beekeeper-studio.git
synced 2026-03-13 10:12:54 +08:00
16 lines
284 B
TypeScript
16 lines
284 B
TypeScript
import Connection from "@/common/appdb/Connection";
|
|
|
|
|
|
export const TestOrmConnection = {
|
|
connection: new Connection(':memory:'),
|
|
|
|
async connect() {
|
|
await this.connection.connect({ synchronize: true })
|
|
},
|
|
|
|
async disconnect() {
|
|
await this.connection.disconnect()
|
|
}
|
|
|
|
}
|