Skip to main content

Module urls

Module urls 

Source
Expand description

Persistence for URLs extracted from memory bodies.

Manages the memory_urls table: insert, deduplicate, and query URLs linked to a specific memory record.

Structs§

MemoryUrl
URL extracted from a memory body.

Functions§

delete_by_memory
Removes all URLs for a memory.
insert_url
Insere uma URL na tabela memory_urls. Ignora duplicatas silenciosamente.
insert_urls
Inserts multiple URLs for a memory. Returns the count inserted (duplicates ignored). Individual errors are logged as warn and not propagated — non-critical path.
list_by_memory
Lists all URLs associated with a memory.