Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really like this. There is only one thing that bothered me. I'd rather pass the job to the pool than pass the pool to the job... something like...

const existingBooks = await pool.exe(select("books", { authorId }));

or

const existingBooks = await pool(select("books", { authorId }));



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: