go1/kv

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Maintainers

Package info

github.com/go1com/kv

pkg:composer/go1/kv

Statistics

Installs: 27 967

Dependents: 1

Suggesters: 0

Stars: 2

Open Issues: 0

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');
}