getConversationsLazyOp
getConversationsLazyOp(
ctx:StorageOperationsContext):Promise<LazyStoredConversation[]>
Defined in: src/lib/db/chat/operations.ts:264
Lazy variant of getConversationsOp.
Returns conversations with their raw stored title under
encryptedTitle instead of a decrypted title. Callers should pair
this with decryptConversationTitle (or the underlying
decryptField) and decrypt only when a row is rendered.
Behavior is identical to getConversationsOp except for the title
projection — sort order, soft-delete filtering, and active-conversation
scoping all match.
Encryption context on ctx is intentionally ignored: this op never
decrypts. That is also why the test for this op asserts call count
for decryptField is exactly zero.
Parameters
| Parameter | Type |
|---|---|
|
|
Returns
Promise<LazyStoredConversation[]>