module CouchBase
Overview
Standalone Crystal client for Couchbase KV and Query services.
require "couchbase"
client = CouchBase::KV::Client.from_string(
"couchbase://Administrator:password@localhost/default",
)
client.set("hello", %({"hello":"world"}))
client.close
Client probes service endpoints. Protocol clients live under KV and Query.
Defined in:
couchbase.cr:17couchbase.cr:30
couchbase/client.cr
couchbase/connection_string.cr
couchbase/endpoint.cr
couchbase/service.cr
couchbase/version.cr
Constant Summary
-
VERSION =
"0.0.5" -
Shard version, kept in sync with
shard.yml.CouchBase::VERSION # => "0.0.5"