Hi there, I'm in a scenario where I update/add data periodically to a local d1 db and need to sync t

Hi there, I'm in a scenario where I update/add data periodically to a local d1 db and need to sync that data progressively with the remote one. Is there some way to connect to the remote db from a node script so I can run the diffing logic (primarily based on last_updated fields) and push the updates from the local db to the remote one, or is wrangler d1 execute the only way currently to run queries on a remote d1 db? Thanks in advance.
Was this page helpful?