could be the default index for rowid, or a trigger for updated ts updates
could be the default index for rowid, or a trigger for updated ts updates
rowid?WITHOUT ROWID the sequence of written data is not ordered as before
never. Anyone had this before?
message and close WS handlers, I also had a error one set up, which was supposed to remove the current connection from the list of connections, but wasn't necessarily closing the connection, such as if the client experienced an error, but not one that caused the socket to close. Somewhere, this was causing the socket to stay open or something. You can see a comparison in the screenshots

DurableObject type: https://developers.cloudflare.com/durable-objects/api/namespace/#idfromnameDUMMY_OBJECT.export default defineEventHandler(async (event) => {
try {
const env = event.context.cloudflare?.env.DUMMY_OBJECT;
const id = env.idFromName('counter');
const stub = env.get(id);
const response = await stub.fetch(event.context.cloudflare.request);
const data = await response.json() as { value: number };
return data;
}
catch (error) {
console.error(error);
return { error: 'Failed to fetch from Durable Object' };
}
});rowid