Skip to Content
SdkReactInternalFunctionsupdateConversationProjectOp

updateConversationProjectOp

updateConversationProjectOp(ctx: StorageOperationsContext, id: string, projectId: string | null): Promise<boolean>

Defined in: src/lib/db/chat/operations.ts:242 

Update a conversation’s project assignment. Pass null to remove the conversation from any project.

Parameters

ParameterType

ctx

StorageOperationsContext

id

string

projectId

string | null

Returns

Promise<boolean>

Last updated on