Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

SetRecords..::..Export Method

Exports the records in this set to a JSON file based on JsonExportStructure.

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

Syntax


public int Export(
	string exportJSONFile,
	Exp filterExpression,
	bool indented
)

Parameters

exportJSONFile
Type: String
The JSON file where the JSON will be written. If this is an existing directory, the file name will be generated where the name contains the namespace and set names with the JSON extension. If the file exists it will be overwritten or created.
filterExpression
Type: Exp
A filter expression that will be applied that will determine the result set.
indented
Type: Boolean
If true the JSON string is formatted for readability

Return Value

Number of records written