On Mar 30, 2016, at 8:50 PM, Brendan Duddridge <bren...@gmail.com> wrote:
This could be that new method you were talking about which would facilitate importing of data. The docs imply this is a good method to use if you want to ship your app with some pre-canned data (which I do). Do you have a sample anywhere that shows that sort of thing?
{ "sortField2Direction" : "asc", "sortOrder" : 0, "_revisions" : "2-bcac0f16be912a85381a946dc5be1d82,1-6059de57a6c9b9a914f74c150b6e1442", "groupFieldDirection" : "asc", "oldPK" : "715BAC6E-6D39-4B65-9E4E-ECDCD45F591D", "sortField1" : "fld-fad36b18f7c449ecb77b04d42552bd11", "hideWhenLinked" : false, "sortField1Direction" : "asc", "_attachments" : { "icon" : { "stub" : true, "length" : 2619, "digest" : "sha1-Y4HUFaM0aX0048NLPNxplu5u7nQ=", "revpos" : 2, "content_type" : "image\/png" } }, "_id" : "frm-f4d442510ddb40a0b9078d1080a4e1e5", "type" : "TFForm", "formCategory" : "cat-bc417f04af264db88898d3a643333ade", "_rev" : "2-bcac0f16be912a85381a946dc5be1d82", "listViewFieldsCount" : 3, "sortField3Direction" : "asc", "showOnWatch" : true, "dbID" : "db-1deccd0e15dc4047ab96eba344144f3b", "name" : "Venues", "shouldSync" : true}
On Mar 31, 2016, at 1:37 PM, Brendan Duddridge <bren...@gmail.com> wrote:
One question though, if when I generate the export function I am adding a "_revisions" string with a comma separated list of revision history IDs, do I still need to provide the separate parameter of those revision history IDs in that method?
On Apr 4, 2016, at 11:13 AM, Brendan Duddridge <bren...@gmail.com> wrote:
Well, that could possibly happen if someone exported from Database A, then imported into a copy of Database A (say on another device), then tried to sync them together after. I know they shouldn't really do this and just setting up sync between the two databases in the first place is the right thing to do, but if there's a path to an issue like this, someone will find it :-)