getConversationsPageOp
getConversationsPageOp(
ctx:StorageOperationsContext,options?:GetConversationsPageOptions):Promise<LazyStoredConversation[]>
Defined in: src/lib/db/chat/operations.ts:416
Keyset-paginated, lazy (no-decrypt) variant of getConversationsLazyOp.
Returns at most limit conversations (newest first by created_at), each
with its raw stored title under encryptedTitle — pair with
decryptConversationTitle to decrypt on render. Page through older
threads by passing the oldest loaded createdAt as before plus the
uniqueIds held at that boundary as boundaryExcludeUniqueIds.
Decrypts nothing and builds no WatermelonDB Model (the never-evicted
RecordCache stays empty — web Pile-2). Sort order, soft-delete filtering,
and the encrypted-title projection all match getConversationsLazyOp.
Parameters
| Parameter | Type |
|---|---|
|
| |
|
|
Returns
Promise<LazyStoredConversation[]>