class Tkrzw::DB

Defined in:

tkrzw/db.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(path : String, writable : Bool = true, params : String = "") #

[View source]

Class Method Detail

def self.open(path, writable = true, params = "", &) #

[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 | Bytes) : Bool #

[View source]
def each(&) #

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

[View source]
def extract_raw(key : String | Bytes, &) #

[View source]
def file_size #

[View source]
def finalize #

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

[View source]
def get_raw(key : String | Bytes, &) #

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

[View source]
def healthy? #

[View source]
def ordered? #

[View source]
def rebuild!(params = "") #

to reduce file_size


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

[View source]
def should_be_rebuilt? #

[View source]
def writable? #

[View source]