3 ms·
I think the boon here will be for scripts that run once. Say I just want to query a few tables. Now, I no longer need a `main()` wrapper: const result = awai
by mattwad 7y ago
I think the boon here will be for scripts that run once. Say I just want to query a few tables. Now, I no longer need a `main()` wrapper:
const result = await db.events.find();
console.log(result);
That's my whole script