WIKINDX API 6.4.9

TEMPSTORAGE

Table of Contents

getUuid()  : string
Get UUID from database
store()  : bool
Store/merge data
exists()  : bool
Check a row exists
fetch()  : array<string|int, mixed>
Fetch data array
fetchOne()  : mixed
Fetch one array element
delete()  : mixed
Delete row
deleteKeys()  : bool
Delete keys from the row data array

Functions

getUuid()

Get UUID from database

getUuid(class $db) : string
Parameters
$db : class

store()

Store/merge data

store(class $db, string $uuid, array<string|int, mixed> $data) : bool
Parameters
$db : class
$uuid : string
$data : array<string|int, mixed>

exists()

Check a row exists

exists(class $db, string $uuid) : bool
Parameters
$db : class
$uuid : string

fetch()

Fetch data array

fetch(class $db, string $uuid) : array<string|int, mixed>
Parameters
$db : class
$uuid : string

fetchOne()

Fetch one array element

fetchOne(class $db, string $uuid, string $key) : mixed
Parameters
$db : class
$uuid : string
$key : string

delete()

Delete row

delete(class $db, string $uuid) : mixed
Parameters
$db : class
$uuid : string

deleteKeys()

Delete keys from the row data array

deleteKeys(class $db, string $uuid, array<string|int, mixed> $deleteKeys) : bool
Parameters
$db : class
$uuid : string
$deleteKeys : array<string|int, mixed>

Search results