Lorefnon

Results 65 comments of Lorefnon

Yes, the difference is mostly cosmetic. I understand that everything can be expressed in terms of params eg. in case of above I can write `now() - (${conn.const(duration, 'int')} ||...

Thank you for the detailed reply, Juan. I think the unsafeInlineSql fn would be a great addition. The shortcut functions are also nice to have to prevent sql injection but...

Hmm, ok. If we avoid any preprocessing in the notebook, I'd likely need a preprocessor at my end to convert pgtyped files to sql files for notebook. Which may not...

Hi @samchon, thanks for getting back to me. Would something like this be ok? ```ts function guard(impl: (...args: TIn) => TOut): (...args: TIn) => TOut; function guardAsync(impl: (...args: TIn) =>...

Sure, that sounds great.

Thank you 🙂 This is great.

This is not quite what I wanted though - it prevents the screen from clearing up which is good, but it still restarts the server which I don't want to...

nodemon supports `rs` for restarting the server.

While I'm sure a better solution will be available at some point, for others who reach here looking for a solution to disable restart-on-enter conveniently, here is a simple alternative:...

You can either use: 1. Lateral joins to fetch associated data and build hierarchy in the same (complex) query. Look at the queries generated by libraries like Zapatos or drizzle....