class

Tkrzw::DB

Inherits Reference / Object

Constructors

new(path : String, writable : Bool = true, params : String = "")
Source

Class methods

open(path, writable = true, params = "", &)
Source

Instance methods

[](key)
Source
[]=(key, value)
Source
clear!
Source
close
Source
count
Source
del(key : String | Bytes) : Bool
Source
each
Source
extract(key : String | Bytes) : String | Nil
Source
extract_raw(key : String | Bytes, &)
Source
file_size
Source
finalize
Source
get(key : String | Bytes) : String | Nil
Source
get_raw(key : String | Bytes, &)
Source
has_key?(key : String | Bytes) : Bool
Source
healthy?
Source
ordered?
Source
rebuild!(params = "")

to reduce file_size

Source
set(key : String | Bytes, value : String | Bytes)
Source
should_be_rebuilt?
Source
writable?
Source