Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/electric-sql/pglite
/ basic-server.ts
File
basic-server.ts
packages/pglite-socket/examples/basic-server.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ PGLiteSocketServer } from
'../src'
2
import
{ PGlite, DebugLevel } from
'@electric-sql/pglite'
3
4
/*
Callers
nothing calls this directly
Calls
6
stop
Method · 0.80
query
Method · 0.65
close
Method · 0.65
create
Method · 0.45
log
Method · 0.45
start
Method · 0.45
Tested by
no test coverage detected