pub fn get_memory_texts_batch(
conn: &Connection,
namespace: Option<&str>,
after_id: Option<&str>,
limit: usize,
) -> Result<Vec<(String, String, String)>>Expand description
#1598 — keyset-paginated scan over ALL live memories (embedded or
not), optionally namespace-filtered, for the ai-memory reembed
full-corpus sweep. Same cursor semantics as
get_unembedded_ids_batch_after: at most limit (id, title, content) triples with id strictly after after_id, in id
order. Four distinct prepared shapes (namespace × cursor) keep the
scan sargable (v55/v56 discipline).
§Errors
Returns the underlying SQLite error.