ExpSinceUpdate Method

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

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp SinceUpdate()

Return Value

Exp

Example

C#
// Record last updated more than 2 hours ago
Exp.GT(Exp.SinceUpdate(), Exp.Val(2 * 60 * 60 * 1000))

See Also