fix(db): pass SQL/JS query text to mysql/psql/mongo via stdin heredoc