'Rethinkdb: Can I replace an entire table?
I'd like to retrieve data from MySQL and feed it to Rethinkdb for clients listening to changes. Can I just replace an entire table with the new results, with clients getting any removed, new, or updated objects?
r.table("tasks").replace( mysqlResults )
Just trying it, it doesn't fail but doesn't seem to do anything. I'm not sure if I don't understanding the usage, or I have a bad driver (php-rql).
EDIT The more I read about it, the more I feel like I'm way off. Is there something w/ that functionality, though? Just tell the table what I want it to be, and have the changes automatically handle the insert/update/deletes?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
