Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Create databases with "/" in their names #34

Closed
ulises opened this Issue · 2 comments

3 participants

@ulises

Currently I can't create a database with "/" in its name. Sample repl session below:

sandbox> (create-database "test/raw-tweets")
{:host "localhost", :name "test/raw-tweets", :language "clojure", :port 5984, :ssl-port 443}
sandbox> (all-databases)
["_replicator" "_users"]
sandbox> (def db (create-database "test/raw-tweets"))
#'sandbox/db
sandbox> db
{:host "localhost", :name "test/raw-tweets", :language "clojure", :port 5984, :ssl-port 443}
sandbox> (with-db db (bulk-update [(Tweet. "ulises" "text")]))
nil

After manually creating the database using futon:
sandbox> (all-databases)
["_replicator" "_users" "test/raw-tweets"]
sandbox>

@cemerick cemerick closed this issue from a commit
Commit has since been removed from the repository and is no longer available.
@cemerick cemerick closed this in 8484b55
@cemerick
Owner

This is fixed in [com.ashafa/clutch "0.3.0-SNAPSHOT"] and later. Note that there are breaking changes (improvements!) in 0.3.0 as described here: https://github.com/ashafa/clutch/tree/0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.