Samuel Williams
Samuel Williams
@jwoertink It's okay, even though the issue is old, it's never been triaged, so I'm just going through all issues to try and at least get a handle on what...
It turns out handling headers is a bit more complex. The part headers are indexed by key, but this won't work for nested parts, we either need: 1. Nested part...
Yes, it is usable.
It uses a connection pool internally based on `async-pool` IIRC.
Yes it's compatible, but I'm not sure the performance, it's probably "good enough".
Not yet but we are working on it, progress is being made in Rails 7.1 but it probably won’t be fully compatible until Rails 8+
You can use the `#query` method as shown in the documentation: https://github.com/socketry/db-postgres?tab=readme-ov-file#11-a-simple-create-insert-and-select-with-raw-sql
The `#query` method supports interpolation: https://socketry.github.io/db/guides/executing-queries/index.html#interpolation-method FYI, you must use symbols for identifiers (table / column names) as otherwise there is no way to correctly quote values (strings, integers, etc)....
It looks good to me so far, I've given you some feedback.
@pharmac1st do you want to try reworking this PR on the latest version of `Live.js`? I've merged form data handling.