pub fn since_update() -> FilterExpression
Expand description

Create expression that returns milliseconds since the record was last updated. This expression usually evaluates quickly because record meta data is cached in memory.

// Record last updated more than 2 hours ago
use aerospike::expressions::{gt, int_val, since_update};
gt(since_update(), int_val(2 * 60 * 60 * 1000));