nvault_prune

Синтаксис

native nvault_prune(vault, start, end);

Употреба

vault
A vault handle returned from nvault_open()
start
The timestamp to start erasing from
end
The timestamp to erase to

Описание

Prunes the vault for entries that are within the given timestamps.

Забележка

This will not erase values set with nvault_pset().

Забележка

An example of pruning all entries that are older than 24 hours:
nvault_prune(vaultHandle, 0, get_systime() - (60 * 60 * 24));

Връщаща стойност

Number of erased values.

Грешка

On invalid vault handle.