Insert or update an object and returns the assigned id.
object
int putSync(OBJ object, {bool replaceOnConflict = false}) => putAllSync([object])[0];