.Condition()

Dataset api.Condition(Condition set)

This method applies a condition to the data that can be accessed by the API instance. This can be useful when working with multiple users sharing a data set, or when you wish to apply a filter to the data set to reduce initial processing time.

Note that multiple conditions can be applied to an Api instance - they will be AND'd together.

Parameters

Returns

Api instance which can be used for chaining.

Example

var api = new CloudTables.Api(":apiKey")
	.Domain(":domainOrIp");

api.Condition(new Condition("dp-19", "Angela"));

var result = await api.Dataset(":id").Data();
// Results in only data being fetched where `dp-19` == `Angela`