go1/kv

This package's canonical repository appears to be gone and the package has been frozen as a result.

v0.2 2016-09-30 03:38 UTC

This package is auto-updated.

Last update: 2024-07-14 01:53:02 UTC


README

$db = DriverManager::getConnection(['url' => 'sqlite://sqlite::memory:']);
$kv = new go1\kv\KV($db);

$kv->write('key', ['some' => 'value);
if ($kv->has('key')) {
    $kv->fetch('key');
    $kv->delete('key');
}