QuickBlox custom table -- Create relation and getting related records on iOS -


how create relation between 2 custom tables ios sdk?

do set parentid on qbcocustomobject create it?

on rest doc there way multiple related records, how do quickblox ios sdk?

there parentid field.

how works: example have 2 entities: movies & comments. each comment has parentid=movieid. if delete movie - comments deleted also.

to related records use extendedrequest param

nsmutabledictionary *getrequest = [nsmutabledictionary dictionary]; [getrequest setobject:@"31212412a1269123" forkey:@"_parent_id"];  [qbcustomobjects objectswithclassname:@"comment" extendedrequest:getrequest delegate:self]; 

Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -