Thanks for the answer. Will it be possible to back up the .sql database when it comes out of beta?
Thanks for the answer. Will it be possible to back up the .sql database when it comes out of beta?
LIMIT issue with v0.2.0 of my exporter: https://github.com/Cretezy/cloudflare-d1-backup/commit/dffcd9fef0224593029add123244acef6b1afd3c


DELETE FROM verification_token where token = ?1 RETURNING *result.results.length <= 0 is TRUE on productionrun() does not return resultsall() or first().run() should throw an error if it returns results.run()? It currently does exactly the same as all().run()'s behaviour tbhconst result = await this.db
.prepare('DELETE FROM verification_token WHERE token = ?1 RETURNING *')
.bind(token)
.run();
if (result.error) {
return { data: null, error: Error(`failed to delete from db: ${result.error}`) };
}
if (result.results.length <= 0) {
return { data: null, error: null };
}
const vToken = result.results[0];run()run()run()run()resultsall()all()first()