Skip to content

Commit 96f6e01

Browse files
committed
Implement true bulk inserts and fix workspace importer
- Added CreateFlowsBulk and CreateFlowNodesBulk queries to flow.sql (batch size 10) - Updated sflow and snode services to use bulk queries with chunking logic - Updated rimportv2/storage.go to use new bulk insert methods - Implemented ImportWorkspaceFromYAML and ImportWorkspaceFromCurl in server.go adapter using ImportUnifiedInternal - Exposed ImportUnifiedInternal in rimportv2 RPC handler
1 parent a68d5f6 commit 96f6e01

8 files changed

Lines changed: 538 additions & 31 deletions

File tree

packages/db/pkg/sqlc/gen/db.go

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/db/pkg/sqlc/gen/flow.sql.go

Lines changed: 290 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)