android - Parse Cloud code : How to update table in parse cloud code -


i want update parse database table. means have 2 table in parse, 1 table update through app , 2nd table update according 1st table data. example.

      userid    gamename    gamescore  gameani            1         g1        200        100               1         g1        600        300              2         g2        400        200            3         g3        500        430      

and want 2nd table type

userid    g1topscore    g2topscore  g3topscore g1ani g2ani g3ani    1        600               0          0      200    0      0    2         0              400          0       0     200    0    3         0              500          0       0     0     430 

that means in second table update according first table . in first table has 1 user created many row in update in second table has shorting according user. score shorting in highest score , ani calculated in game average. how update second table in cloud code.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -