erlcass
erlcass copied to clipboard
Create Keyspace if missing option
Maybe it's preferable to always first connect without keyspace and run the keyspace creation CQL before connecting to the keyspace.
Hi @silviucpp , what do you think of this PR? It would be useful for us. Is there a change that you want done?
This PR needs a bit of changes.
First we need to get rid of representing strings as lists.there are few places like the following (_ -> "")
Keyspace = case erlcass_utils:get_env(keyspace) of
{ok, Space} -> Space;
_ -> ""
end,
In the entire library we are working with binary strings and I want to keep it consistent.
Also this PR doesn't have a unit test added for this case.
In case this things are fixed I can merge it