Method to replicate sqlite database across multiple servers
I used the Raft consensus protocol to replicate my SQLite database. You can find the system here: https://github.com/rqlite/rqlite
I used the Raft consensus protocol to replicate my SQLite database. You can find the system here: https://github.com/rqlite/rqlite
Here’s the relevant example from the documentation on RethinkDB’s website: http://rethinkdb.com/docs/cookbook/python/#removing-a-field-from-a-document To remove a field from all documents in a table, you need to use replace to update the document to not include the desired field (using without): r.db(‘db’).table(‘user’).replace(r.row.without(‘key’)) To remove the field from one specific document in the table: r.db(‘db’).table(‘user’).get(‘id’).replace(r.row.without(‘key’)) You can change the … Read more