ashafa/clutch — Issue #34: Create databases with "/" in their names
Author: ulises
Created: 2011-11-04 15:01:19+00:00
State: open

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>