BuiltQueryResult Class Reference

Inherits from NSObject
Declared in BuiltQueryResult.h

– getResult

Get array of objects returned by BuiltQuery.

 //Obj-C
 [projectQuery exec:^(BuiltResponseType type, BuiltQueryResult *result, NSError *error) {
    NSArray *result = [result getResult];// get all result in array
 }];

 //Swift
 projectQuery.exec { (responseType, queryResult!, error!) -> Void in
    var results:Array  =  queryResult.getResult()
 }
- (BUILT_NULLABLE NSArray *)getResult

Return Value

Returns an array of objects returned by BuiltQuery.

Declared In

BuiltQueryResult.h

– getRoles

Get array of roles returned by BuiltQuery.

 //Obj-C
 [projectQuery exec:^(BuiltResponseType type, BuiltQueryResult *result, NSError *error) {
    NSArray *result = [result getRoles];// get all result in array
 }];

 //Swift
 projectQuery.exec { (responseType, queryResult!, error!) -> Void in
    var results:Array  =  queryResult.getRoles()
 }
- (BUILT_NULLABLE NSArray *)getRoles

Return Value

Returns an array of roles returned by BuiltQuery.

Declared In

BuiltQueryResult.h

– getUsers

Get array of users returned by BuiltQuery.

 //Obj-C
 [projectQuery exec:^(BuiltResponseType type, BuiltQueryResult *result, NSError *error) {
    NSArray *result = [result getUsers];// get all result in array
 }];

 //Swift
 projectQuery.exec { (responseType, queryResult!, error!) -> Void in
    var results:Array  =  queryResult.getUsers()
 }
- (BUILT_NULLABLE NSArray *)getUsers

Return Value

Returns an array of users returned by BuiltQuery.

Declared In

BuiltQueryResult.h

– schema

Gets the schema of objects returned by BuiltQuery alongwith objects themselves.

 //Obj-C
 [projectQuery exec:^(BuiltResponseType type, BuiltQueryResult *result, NSError *error) {
    NSArray *result = [result schema];
 }];

 //Swift
 projectQuery.exec { (responseType, queryResult!, error!) -> Void in
    var schema:Array  =  queryResult.schema()
 }
- (BUILT_NULLABLE NSArray *)schema

Return Value

Returns schemas.

Declared In

BuiltQueryResult.h

– count

Count of number of object returned by BuiltQuery.

 //Obj-C
 [projectQuery exec:^(BuiltResponseType type, BuiltQueryResult *result, NSError *error) {
    NSInteger count = [result count];
 }];


 //Swift
 projectQuery.exec { (responseType, queryResult!, error!) -> Void in
    var count:Int  =  queryResult.count()
 }
- (NSInteger)count

Return Value

Returns the count of number of object returned by BuiltQuery.

Declared In

BuiltQueryResult.h

– createdCount

Count of number of created objects returned by BuiltQuery.

//Obj-C [projectQuery exec:^(BuiltResponseType type, BuiltQueryResult result, NSError error) { NSInteger createdCount = [result createdCount]; }];

//Swift projectQuery.exec { (responseType, queryResult!, error!) -> Void in var createdCount:Int = queryResult.createdCount() }

- (NSInteger)createdCount

Return Value

Returns the count of number of createdCount objects returned by BuiltQuery.

Declared In

BuiltQueryResult.h

– updatedCount

Count of number of updated objects returned by BuiltQuery.

//Obj-C [projectQuery exec:^(BuiltResponseType type, BuiltQueryResult result, NSError error) { NSInteger updatedCount = [result updatedCount]; }];

//Swift projectQuery.exec { (responseType, queryResult!, error!) -> Void in var updatedCount:Int = queryResult.updatedCount() }

- (NSInteger)updatedCount

Return Value

Returns the count of number of updated objects returned by BuiltQuery.

Declared In

BuiltQueryResult.h

– deletedCount

Count of number of deleted objects returned by BuiltQuery.

//Obj-C [projectQuery exec:^(BuiltResponseType type, BuiltQueryResult result, NSError error) { NSInteger deletedCount = [result deletedCount]; }];

//Swift projectQuery.exec { (responseType, queryResult!, error!) -> Void in var deletedCount:Int = queryResult.deletedCount() }

- (NSInteger)deletedCount

Return Value

Returns the count of number of deleted objects returned by BuiltQuery.

Declared In

BuiltQueryResult.h

– updatedObjects

Get array of updated objects returned by BuiltDelta.

 Obj-C
 [projectQuery exec:^(BuiltResponseType type, BuiltQueryResult *result, NSError *error) {
    NSArray *updatedObject = [result updatedObjects];
 }];

 //Swift
 projectQuery.exec { (responseType, queryResult!, error!) -> Void in
    var updatedObject:Array  =  queryResult.updatedObjects()
 }
- (BUILT_NULLABLE NSArray *)updatedObjects

Return Value

Returns an array of updated objects returned by BuiltDelta.

Declared In

BuiltQueryResult.h

– createdObjects

Get array of created objects returned by BuiltDelta.

 //Obj-C
 [projectQuery exec:^(BuiltResponseType type, BuiltQueryResult *result, NSError *error) {
     NSArray *createdObject = [result createdObjects];
 }];

 //Swift
 projectQuery.exec { (responseType, queryResult!, error!) -> Void in
     var createdObject:Array  =  queryResult.createdObjects()
 }
- (BUILT_NULLABLE NSArray *)createdObjects

Return Value

Returns an array of created objects returned by BuiltDelta.

Declared In

BuiltQueryResult.h

– deletedObjects

Get array of deleted objects returned by BuiltDelta.

 //Obj-C
 [projectQuery exec:^(BuiltResponseType type, BuiltQueryResult *result, NSError *error) {
     NSArray *deletedObject = [result deletedObjects];
 }];

 //Swift
 projectQuery.exec { (responseType, queryResult!, error!) -> Void in
     var deletedObject:Array  =  queryResult.deletedObjects()
 }
- (BUILT_NULLABLE NSArray *)deletedObjects

Return Value

Returns an array of deleted objects returned by BuiltDelta.

Declared In

BuiltQueryResult.h