Skip to content

Instantly share code, notes, and snippets.

@pbrewczynski
Created November 10, 2014 07:02
Show Gist options
  • Save pbrewczynski/d53799fbcaf1d4154ebd to your computer and use it in GitHub Desktop.
Save pbrewczynski/d53799fbcaf1d4154ebd to your computer and use it in GitHub Desktop.
Wysyłam:
{
added = (
);
"my_version_id" = 141;
removed = (
82
);
updated = {
};
}
Dosteaje (kiedy lecę od versji 0)
....
{
"_id" = {
"$oid" = 546062221770fe788b61fb71;
};
"_revision_date" = "1415602722.605335";
"_user_id" = {
"$oid" = 544df1291770fe63af94cc49;
};
"_version_id" = 139;
added = (
{
"easiness_factor" = "2.5";
id = 81;
"last_interval_in_days" = 0;
"next_repetition_date" = 1415602729;
"phrase_descriptor_id" = 2515;
"repetition_count" = 0;
}
);
removed = (
);
updated = {
};
},
{
"_id" = {
"$oid" = 546062281770fe788b61fb73;
};
"_revision_date" = "1415602728.939093";
"_user_id" = {
"$oid" = 544df1291770fe63af94cc49;
};
"_version_id" = 141;
added = (
{
"easiness_factor" = "2.5";
id = 82;
"last_interval_in_days" = 0;
"next_repetition_date" = 1415602735;
"phrase_descriptor_id" = 2515;
"repetition_count" = 0;
}
);
removed = (
);
updated = {
};
}
);
"current_version" = 142;
// Nigndzie nie ma remove, a 82'ka jest.
@pbrewczynski
Copy link
Author

// Powiedzieć tedowi że wysyłam "updated" jako string chyba... (żeby to sprawdził)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment