pub fn int_count(exp: FilterExpression) -> FilterExpression
Expand description

Create expression that returns count of integer bits that are set to 1. Requires server version 5.6.0+.

// count(a) == 4
use aerospike::expressions::{int_val, int_bin, int_count, eq};
eq(int_count(int_bin("a".to_string())), int_val(4));