\Hazaar\Cache\Backend
Sqlite3
The SQLite3 cache backend.

Similar to the database backend (which also can use SQLite3) except this has some performance benefits by using some SQLite3 specific database functions.

Available config options:

  • cache_table – The table name to use within the SQLite3 database file. Default: cache_{namespace}.
  • cache_db – The name of the file to use on disk for the SQLite3 database. Default: APPLICATION_PATH/.runtime/sqlite.db

Tags

Since

1.0.0

Summary
Methods Properties Constants
get
has
set
$db
No constants
Properties
$db
$db
$weight
$weight
Inherited
$weight
$weight
Methods
Static
available()
available()
clear()
clear()
close()
close()
criteria()
criteria($key)

Parameters

$key

No description

get()
get($key)

Parameters

$key

No description

has()
has($key)

Parameters

$key

No description

init()
init($namespace)

Parameters

$namespace

No description

remove()
remove($key)

Parameters

$key

No description

set()
set($key, $value, $timeout = null)

Parameters

$key

No description

$value

No description

$timeout

No description