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
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server