Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Cockroach REPL #3

Open
plaflamme opened this issue Jun 9, 2015 · 0 comments
Open

Cockroach REPL #3

plaflamme opened this issue Jun 9, 2015 · 0 comments

Comments

@plaflamme
Copy link
Owner

Provide a REPL for interacting with cockroach cluster(s).

  • consider that Client is asynchronous and you generally want to block in a REPL
  • consider that a REPL can't really deal with byte arrays (use Base64 and converters to String and such)
  • consider that it might be useful to connect to multiple clusters from a single REPL
scroach> val cluster = connect "cockroach-node:8080"
cluster: ReplClient
scroach> import cluster._
import cluster._
scroach> get("Hello")
res0: Base64 = b64(V29ybGQh)
scorach> res0.decodeUtf8
res1: String = "World!"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant