Skip to content

LucyEgan/surreal-transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

surreal-transfer

Quick tool to transfer tables by query from 1 surreal instance to another, feedback/contributions welcome

To install dependencies:

bun install

To run:

bun run index.ts
  --from 'ws://{{remoteUsername}}:{{remoteOptionlUnsafePasswordButWillBePromptedSecurly}}@{{remote-instance.com:8000}}/?namespace={{remoteNamespace}}&database={{remoteDatabase}}'
  --to 'ws://{{otherUsername}}:{{otherOptionlUnsafePasswordButWillBePromptedSecurly}}@{{other-instance.com:8000}}/?namespace={{otherNamespace}}&database={{otherDatabase}}'
  --query 'SELECT * FROM cupcakes'
  --query 'SELECT * FROM cakecups WHERE !hasBeenEaten'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors