Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

SetRecords..::..Exists Method

Returns true if primary key exists

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public bool Exists(
	Object primaryKey,
	Expression filterExpression
)

Parameters

primaryKey
Type: Object
The primary key can be a Key, Value, digest (byte[]), or a .net type.
filterExpression
Type: Expression
A filter Expression that is applied after obtaining the record via the primary key.

Return Value

True if the primaryKey exists, otherwise false.