Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

defp/ssdb-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSDB client

Build Status

SSDB client for Elixir

Installation

Releases are published through hex.pm. Add as a dependency in your mix.exs file:

defp deps do
  [ { :ssdb, "~> 0.3.0" } ]
end

Example:

Interactive Elixir (1.0.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> {:ok, pid} = SSDB.start
{:ok, #PID<0.79.0>}
iex(2)> SSDB.query pid,  ["set", "ssdb", "cool"]
{:ok, ["1"]}
iex(3)> SSDB.query ["get", "ssdb"]
{:ok, ["cool"]}
iex(4)> SSDB.query ["exists", "ssdb"]
{:ok, ["1"]}
iex(5)>

Releases

No releases published

Packages

No packages published

Languages