all() or first().run() should throw an error if it returns results.run()? It currently does exactly the same as all().run()'s behaviour tbhrun() returns results.

unhex()?hex() works just fineBLOB (initially generated with (randomblob(16))), this works:not authorized to use function: sqlite_version3.41.0base64() too...plzzzzzz update to 3.41.0+cloudflare/workers-sdk(lower(format('%s-%s-%s-%s-%s', substr(hex(t_id),1,8), substr(hex(t_id),9,4), substr(hex(t_id),13,4), substr(hex(t_id),17,4), substr(hex(t_id),21)))){
result: [],
success: false,
errors: [ { code: 7500, message: 'no such function: unhex' } ],
messages: []
}import { randomUUID } from 'node:crypto';
export class Helpers {
public static get generateUuid() {
const uuid = randomUUID();
const uuidHex = uuid.replaceAll('-', '');
return {
utf8: uuid,
forBlob: uuidHex,
};
}
}query: {
params: [Helpers.generateUuid.forBlob],
sql: `INSERT INTO some_table (uuid) VALUES (unhex(?))`,
}