class KyotoCabinet::DB

Defined in:

kyotocabinet/db.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(path : String, flags : Lib::Mode = Lib::Mode::KCOWRITER | Lib::Mode::KCOCREATE) #

[View source]

Class Method Detail

def self.open(path, flags = Lib::Mode::KCOWRITER | Lib::Mode::KCOCREATE, &) #

[View source]

Instance Method Detail

def [](key) #

[View source]
def []=(key, value) #

[View source]
def clear! #

[View source]
def close #

[View source]
def count #

[View source]
def del(key : String) #

[View source]
def drop! #

[View source]
def each(&) #

[View source]
def extract(key : String) #

get and del


[View source]
def finalize #

[View source]
def get(key : String) #

[View source]
def has_key?(key : String) #

[View source]
def path : String #

[View source]
def set(key : String, value : String) #

[View source]
def size #

[View source]
def status #

[View source]