@@ -22,6 +22,11 @@ export async function withDb(cb) {
}
export function dbAddr(addr) {
// format an 0x-style address into postgres bytes
return '\\' + addr.slice(1)
export async function sql(query) {
return await withDb(async (db)=>await db.query(query) )
The note is not visible to the blocked user.