.get() ? This is adds significant friction to the DX. this.this.db.... But because .get() is async, we need to do this dance in every public method.get()? Hyperdrive connection details should be on the binding itself, according to docs?await connection2.query("INSERT into revolv_events SET ? ON DUPLICATE KEY UPDATE ?", [ins, ins]). It was saving into the db and everything just perfectly. Just today it stopped saving and instead throw that error.this.this.db...Error: write CONNECTION_CLOSED REMOVED.hyperdrive.local:5432await connection2.query("INSERT into revolv_events SET ? ON DUPLICATE KEY UPDATE ?", [ins, ins]) export default {
async fetch(request, env, ctx) {
if (env.DEV) {
// Logic specific to local development
console.log("Running in local development mode.");
} else {
// Logic specific to production
console.log("Running in production mode.");
}
// ... rest of your Worker logic
},
};