Forum BigDB How can I make a data increment?

Discussion and help relating to the PlayerIO database solution, BigDB.

How can I make a data increment?

Postby mochichina » April 13th, 2011, 11:37 am

How can I make a data increment?
For example. a player to enter,
Database value + +;
For example. a player out
Values ​​in the database - -;
Two players may be performed concurrently + +.
I can not get the data changes after the update.

:cry:
mochichina
Paid Member
 
Posts: 4
Joined: January 24th, 2011, 11:18 am

Re: How can I make a data increment?

Postby Henrik » April 13th, 2011, 6:49 pm

BigDB features optimistic locking for exactly this use-case. Check out the bottom section on this page in the documentation:

http://playerio.com/documentation/bigdb/advanced
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to BigDB