class LevelDB::WriteBatch

Defined in:

leveldb/write_batch.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.build(&) #

[View source]

Instance Method Detail

def append(other : WriteBatch) #

[View source]
def clear #

[View source]
def close #

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

[View source]
def finalize #

Finalizer is only a safety net; prefer explicit close or block usage.


[View source]
def handle : LibLevelDB::WriteBatch #

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

[View source]