Elektrine lite

← Feed

@isntitvacant@hachyderm.io

Post #903476

2026-01-01 18:25 UTC

I'm realizing all at once that what I really want from sqlx isn't `query_as(RowType)`, it's to query into a struct of arrays.

Replies (1)

  • @isntitvacant@hachyderm.io 2026-01-01 18:27

    This falls out from the requirements on INSERT queries in postgres (having to decompose the array-of-structs into a series of arrays to UNNEST) but pops up when querying, too ("enrich this list of ids from another query")

    Open ##2805318