Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RemoteState/nodejs-ecs
/ constructor
Method
constructor
src/database/index.ts:8–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
private conn: Connection | null;
7
8
private constructor() {
9
this.conn = null;
10
}
11
12
public static getInstance(): Database {
13
if
(!Database.instance) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected