title: Sync device sqlite database rows to Google Drive
body: <p>I'm trying to do something that I thought would be fairly common --</p>
  
  <p>Keep a local sqlite database on a user's phone/tablet in sync with a copy that's stored in their Google Drive app folder.  </p>
  
  <p>The benefits are obvious -- namely a user can use multiple devices, or replace their only device, and always get the latest database information, without resorting to manual exports/imports.</p>
  
  <p>For an implementation, I see that it would be fairly easy to keep some kind of hashcode and do a full database upload/download whenever something changes -- however that becomes increasingly punitive and inefficient as the database grows.</p>
  
  <p>I was hoping there would be a way to sync singular row-based operations, such as:</p>
  
  <ol>
  <li>Delete this row</li>
  <li>Insert this row</li>
  <li>Change this row</li>
  </ol>
  
  <p>However, this appears to be non-trivial, if even possible.</p>
  
  <p>What is the recommended approach for syncing row-based sqlite database operations between a device and Google Drive?</p>