SetRecords..::..ToJson Method
Creates a Json Array of all records in the set based on the filterExpression, if provided.
Namespace:
Aerospike.Database.LINQPadDriver.ExtensionsAssembly: Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)
Syntax
Parameters
- filterExpression
- Type: Exp
- pkPropertyName
- Type: String
The property name used for the primary key. The default is '_id'. If the primary key value is not present, the digest is used. In these cases the property value will be a sub property where that name will be '$oid' and the value is a byte string. If this is null, no PK property is written.
- useDigest
- Type: Boolean
If true, always use the PK digest as the primary key. If false, use the PK value is present, otherwise use the digest. Default is false.