spion
spion
DTDrizzle Team
Created by spion on 7/29/2023 in #help
Unform methods for result access
Is there a set of uniform methods for accessing the results of a query? Could be good to have something like the ones available in sqlite adapters - .get() to get the first result Promise<T | null> - .all() to get Promise<Array<T>> - .iter() - can have a default implementation based on iterating over an array of all the elements, but could also support a memory-saving AsyncIterable for adapters that can do streaming
1 replies