         cb?()
 
 
-
+exports.get_syncstring_db = () ->
+    return syncstring_db
 
 
 # oldest first -- unlike in page/activity.coffee

        # turns out to be sensible.
        #  SIMPLIFIED: ignore is_first and never trim.
        @dbg("_process_updates", "process #{updates.length} updates")
        new_patches = {}
        for update in updates
            update.timestamp = update.timestamp - 0  # better to key map based on string of timestamp as number

                @db.update
                    table : 'syncstrings'
                    set   :
                        patch    : @patch_to_string(patch)
                        is_first : true
                    where :
                        string_id : opts.string_id
