-- Code generated by BobGen psql v0.42.5. DO NOT EDIT.
-- This file is meant to be re-generated in place and/or deleted at any time.

-- TextsBySenders
SELECT 
    id,
    content,
    created,
    source,
    destination,
    is_visible_to_llm,
    is_welcome,
    origin
FROM 
    comms.text_log
WHERE 
    (source = $1 AND destination = $2)
    OR 
    (source = $3 AND destination = $4)
ORDER BY 
    created ASC;
