Function aerospike::expressions::bin_type
source · pub fn bin_type(name: String) -> FilterExpression
Expand description
Create function that returns bin’s integer particle type.
use aerospike::ParticleType;
use aerospike::expressions::{eq, bin_type, int_val};
// Bin "a" particle type is a list
eq(bin_type("a".to_string()), int_val(ParticleType::LIST as i64));