MCPcopy Create free account
hub / github.com/electric-sql/electric / load_data.js

File load_data.js

examples/linearlite/db/load_data.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import postgres from 'postgres'
2import { generateIssues } from './generate_data.js'
3
4if (!process.env.DATABASE_URL) {

Callers

nothing calls this directly

Calls 8

generateIssuesFunction · 0.90
batchInsertFunction · 0.85
endMethod · 0.80
sliceMethod · 0.45
mapMethod · 0.45
keysMethod · 0.45
writeMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected